Ejemplo n.º 1
0
$string_2 = '     what      ';
$string_3 = strtoupper($string_1);
$string_4 = '1234a';
$string_5 = '64x32';
$string_6 = 'this is a link to http://google.com which is a really popular site';
$string_7 = 'number %d is like a string %s that likes to hex %x it out';
$string_8 = $string_7 . ' and then some';
$string_9 = 'quotes\'are "fun" to use\'. Most of the time. \\ ya';
$array_1 = array('a', 'b', 'c', 'd', 'e', 'f', 'g', 'h' => 1, 'i' => 2, 'j' => 0);
$array_2 = array('coffee', 'brown', 'caffeine');
$time_1 = '12/29/2011 10:15:37pm';
$now = time();
$timer->start();
for ($i = 0; $i < $run_times; ++$i) {
}
$timer->stop('for');
$timer->start();
while ($i > 0) {
    --$i;
}
$timer->stop('while');
$timer->start();
for ($i = 0; $i < $run_times; $i++) {
    $z = $i % 4;
    if ($z == 0) {
    } else {
        if ($z == 1) {
        } else {
            if ($z == 2) {
            } else {
            }