/PHP-5.6/ext/date/tests/ |
H A D | date_period-immutable.phpt | 13 echo get_class( $dt ), "\n"; 14 echo $dt->format( "l Y-m-d\n" ); 15 echo $dt->modify( "3 tuesday" )->format( "l Y-m-d\n" ); 16 echo $dt->format( "l Y-m-d\n\n" ); 21 echo get_class( $dt ), "\n"; 22 echo $dt->format( "l Y-m-d\n" ); 23 echo $dt->modify( "3 tuesday" )->format( "l Y-m-d\n" ); 24 echo $dt->format( "l Y-m-d\n\n" );
|
H A D | bug40743.phpt | 6 echo $dt->format(DATE_RFC822), "\n"; 7 echo $dt->format('T e Z'), "\n"; 8 echo "-----\n"; 13 echo $dt->format(DATE_RFC822 . " e T O U"), "\n"; 16 echo $dt->format(DATE_RFC822 . " e T O U"), "\n"; 20 echo $dt->format(DATE_RFC822 . " e T O U"), "\n"; 23 echo $dt->format(DATE_RFC822 . " e T O U"), "\n"; 26 echo $dt->format(DATE_RFC822 . " e T O U"), "\n"; 29 echo $dt->format(DATE_RFC822 . " e T O U"), "\n";
|
H A D | bug30532.phpt | 8 echo date('Y-m-d H:i:s T', strtotime('2004-10-31 EDT +1 hour'))."\n"; 9 echo date('Y-m-d H:i:s T', strtotime('2004-10-31 EDT +2 hours'))."\n"; 10 echo date('Y-m-d H:i:s T', strtotime('2004-10-31 EDT +3 hours'))."\n"; 12 echo "\n"; 14 echo date('Y-m-d H:i:s T', strtotime('2004-10-31 +1 hour'))."\n"; 15 echo date('Y-m-d H:i:s T', strtotime('2004-10-31 +2 hours'))."\n"; 16 echo date('Y-m-d H:i:s T', strtotime('2004-10-31 +3 hours'))."\n";
|
H A D | DateTime_data-spring-type2-type2.inc | 21 echo "test_time_spring_type2_prev_type2_prev: "; 26 echo "test_time_spring_type2_prev_type2_st: "; 31 echo "test_time_spring_type2_prev_type2_dt: "; 36 echo "test_time_spring_type2_prev_type2_post: "; 41 echo "test_time_spring_type2_st_type2_prev: "; 46 echo "test_time_spring_type2_st_type2_st: "; 51 echo "test_time_spring_type2_st_type2_dt: "; 56 echo "test_time_spring_type2_st_type2_post: "; 61 echo "test_time_spring_type2_dt_type2_prev: "; 66 echo "test_time_spring_type2_dt_type2_st: "; [all …]
|
/PHP-5.6/ext/standard/tests/array/ |
H A D | array_walk_recursive_variation7.phpt | 19 echo "*** Testing array_walk_recursive() : anonymous function as callback ***\n"; 23 echo "-- Anonymous function with one argument --\n"; 24 var_dump( array_walk_recursive($input, create_function('$value', 'var_dump($value); echo "\n";'))); 26 echo "-- Anonymous function with two arguments --\n"; 27 …ecursive($input, create_function('$value, $key', 'var_dump($key); var_dump($value); echo "\n";'))); 29 echo "-- Anonymous function with three arguments --\n"; 30 …ue, $key, $user_data', 'var_dump($key); var_dump($value); var_dump($user_data); echo "\n";'), 10)); 32 echo "-- Anonymous function with one more argument --\n"; 35 echo "-- Anonymous function with null argument --\n"; 36 var_dump( array_walk_recursive( $input, create_function(null, 'echo "1\n";'))); [all …]
|
H A D | array_walk_variation7.phpt | 19 echo "*** Testing array_walk() : anonymous function as callback ***\n"; 23 echo "-- Anonymous function with one argument --\n"; 24 var_dump( array_walk($input, create_function('$value', 'var_dump($value); echo "\n";'))); 26 echo "-- Anonymous function with two arguments --\n"; 27 …ray_walk($input, create_function('$value, $key', 'var_dump($key); var_dump($value); echo "\n";'))); 29 echo "-- Anonymous function with three arguments --\n"; 30 …ue, $key, $user_data', 'var_dump($key); var_dump($value); var_dump($user_data); echo "\n";'), 10)); 32 echo "-- Anonymous function with one more argument --\n"; 35 echo "-- Anonymous function with null argument --\n"; 36 var_dump( array_walk( $input, create_function(null, 'echo "1\n";'))); [all …]
|
/PHP-5.6/Zend/tests/ |
H A D | closure_046.phpt | 23 echo "Before binding", "\n"; 24 $nonstaticUnscoped(); echo "\n"; 25 $nonstaticScoped(); echo "\n"; 27 echo "After binding, no instance", "\n"; 28 $d = $nonstaticUnscoped->bindTo(null, "static"); $d(); echo "\n"; 29 $d = $nonstaticScoped->bindTo(null, "static"); $d(); echo "\n"; 34 $d = $nonstaticUnscoped->bindTo(new A, "static"); $d(); echo "\n"; 35 $d = $nonstaticScoped->bindTo(new A, "static"); $d(); echo "\n"; 37 echo "After binding, with different instance for the bound one", "\n"; 38 $d = $nonstaticScoped->bindTo(new B, "static"); $d(); echo "\n"; [all …]
|
H A D | closure_024.phpt | 11 echo $c(10)."\n"; 12 echo $cc(10)."\n"; 16 echo $c(10)."\n"; 17 echo $cc(10)."\n"; 19 echo "Done.\n";
|
H A D | bug18556.phpt | 16 echo "Instantiating an infoBlob with a lowercase i\n"; 18 echo $foobar->foo; 19 echo "\nInstantiating an InfoBlob with an uppercase I\n"; 21 echo $foobar->foo; 22 echo "\n"; 27 echo "$class No Longer Exists!\n"; 30 echo "Done.\n";
|
H A D | bug33732.phpt | 15 echo iA::cA; 16 echo A::cA; 17 echo B::cA; 33 echo iA2::cA; 34 echo A2::cA; 35 echo iB2::cA; 36 echo B2::cA;
|
/PHP-5.6/ext/soap/tests/bugs/ |
H A D | bug30045.phpt | 53 echo "byte\n"; 59 echo "\nshort\n"; 65 echo "\nint\n"; 71 echo "\nlong\n"; 77 echo "\nunsignedByte\n"; 83 echo "\nunsignedShort\n"; 89 echo "\nunsignedInt\n"; 95 echo "\nunsignedLong\n"; 121 echo "\ninteger\n"; 125 echo "long\n"; [all …]
|
/PHP-5.6/ext/spl/tests/ |
H A D | iterator_034.phpt | 12 echo __METHOD__ . "() = false\n"; 23 echo __METHOD__ . "()\n"; 29 echo __METHOD__ . "()\n"; 54 echo __METHOD__ . "()\n"; 60 echo __METHOD__ . "()\n"; 66 echo __METHOD__ . "()\n"; 72 echo __METHOD__ . "()\n"; 102 echo "$k=>$v\n"; 105 echo "===BREAK===\n"; 110 echo "===FOREND===\n"; [all …]
|
/PHP-5.6/ext/oci8/tests/ |
H A D | bind_char_1.phpt | 34 echo "*** Non-null Data Tests against CHAR***\n"; 44 echo "Test 1.2: Type: AFC. Length: default\n"; 49 echo "Test 1.3: Type: AFC: Length: 0\n"; 54 echo "Test 1.4: Type: AFC: Length: strlen\n"; 84 echo "Test 2.3: Type: AFC: Length: 0\n"; 89 echo "Test 2.4: Type: AFC: Length: strlen\n"; 120 echo "Test 3.3: Type: AFC: Length: 0\n"; 156 echo "Test 4.3: Type: AFC: Length: 0\n"; 180 echo " Querying:\n"; 190 echo " :" . $item . ":\n"; [all …]
|
H A D | error_parse.phpt | 26 echo "Normal connection: Parse error\n"; 42 echo "New connection: Parse error\n"; 58 echo "Persistent connection: Parse error\n"; 66 echo "No connection: error: "; 73 echo $m["message"], "\n"; 77 echo $m["message"], "\n"; 81 echo $m["message"], "\n"; 88 echo $m["message"], "\n"; 92 echo $m["message"], "\n"; 96 echo $m["message"], "\n"; [all …]
|
/PHP-5.6/ext/standard/tests/general_functions/ |
H A D | closures_002.phpt | 11 echo "Test\n"; 12 echo "$i\n"; 13 echo "$i\n"; 15 echo "$i\n"; 16 echo "Done\n";
|
/PHP-5.6/ext/dom/tests/ |
H A D | bug38474.phpt | 17 echo $dom->firstChild->getAttribute('type')."\n"; 18 echo $dom->firstChild->getAttribute('pre:type')."\n"; 25 echo $dom->firstChild->getAttribute('type')."\n"; 26 echo $dom->firstChild->getAttribute('pre:type')."\n"; 27 echo $dom->firstChild->getAttribute('post:type')."\n"; 32 echo $dom->firstChild->getAttribute('type')."\n"; 33 echo $dom->firstChild->getAttribute('pre:type')."\n"; 34 echo $dom->firstChild->getAttribute('post:type')."\n"; 35 echo $dom->firstChild->getAttribute('new:type');
|
/PHP-5.6/ext/standard/tests/strings/ |
H A D | printf_basic2.phpt | 10 echo "*** Testing printf() : basic functionality - using integer format ***\n"; 22 echo "\n-- Calling printf() with no arguments --\n"; 24 echo "\n"; 27 echo "\n-- Calling printf() with one arguments--\n"; 29 echo "\n"; 32 echo "\n-- Calling printf() with two arguments--\n"; 34 echo "\n"; 37 echo "\n-- Calling printf() with three arguments--\n"; 39 echo "\n";
|
H A D | printf_basic4.phpt | 10 echo "*** Testing printf() : basic functionality - using bool format ***\n"; 22 echo "\n-- Calling printf() with no arguments --\n"; 24 echo "\n"; 27 echo "\n-- Calling printf() with one arguments--\n"; 29 echo "\n"; 32 echo "\n-- Calling printf() with two arguments--\n"; 34 echo "\n"; 37 echo "\n-- Calling printf() with three arguments--\n"; 39 echo "\n";
|
H A D | printf_basic5.phpt | 10 echo "*** Testing printf() : basic functionality - using char format ***\n"; 22 echo "\n-- Calling printf() with no arguments --\n"; 24 echo "\n"; 27 echo "\n-- Calling printf() with one arguments --\n"; 29 echo "\n"; 32 echo "\n-- Calling printf() with two arguments --\n"; 34 echo "\n"; 37 echo "\n-- Calling printf() with three arguments --\n"; 39 echo "\n";
|
H A D | printf_basic6.phpt | 10 echo "*** Testing printf() : basic functionality - using exponential format ***\n"; 21 echo "\n-- Calling printf() with no arguments --\n"; 23 echo "\n"; 26 echo "\n-- Calling printf() with one argument --\n"; 28 echo "\n"; 31 echo "\n-- Calling printf() with two arguments --\n"; 33 echo "\n"; 36 echo "\n-- Calling printf() with three arguments --\n"; 38 echo "\n";
|
/PHP-5.6/ext/zip/tests/ |
H A D | oo_delete.phpt | 26 echo "ok\n"; 29 echo "failed\n"; 37 echo "ok\n"; 41 echo "ok\n"; 43 echo "failed 3\n"; 47 echo "ok\n"; 49 echo "failed 3\n"; 53 echo "ok\n"; 56 echo "failed\n";
|
/PHP-5.6/tests/classes/ |
H A D | destructor_and_exceptions.phpt | 12 echo __METHOD__ . "\n"; 14 echo "Done: " . __METHOD__ . "\n"; 25 echo "Caught: " . $e->getMessage() . "\n"; 32 echo __METHOD__ . "\n"; 35 echo "Done: " . __METHOD__ . "\n"; 45 echo "Caught Exception: " . $e->getMessage() . "\n"; 49 echo "Caught FatalException: " . $e->getMessage() . "\n";
|
H A D | visibility_005.phpt | 15 echo "$k=>$v\n"; 26 echo "===base::function===\n"; 28 echo "===base,foreach===\n"; 30 echo "$k=>$v\n"; 35 echo "===derived::function===\n"; 37 echo "===derived,foreach===\n"; 39 echo "$k=>$v\n";
|
/PHP-5.6/ext/standard/tests/math/ |
H A D | acosh_basic.phpt | 15 echo "acosh 1.1276259652064= "; 19 echo "Pass\n"; 22 echo "Fail\n"; 25 echo "acosh 10.067661995778= "; 29 echo "Pass\n"; 32 echo "Fail\n";
|
H A D | asinh_basic.phpt | 15 echo "asinh 0.52109530549375= "; 19 echo "Pass\n"; 22 echo "Fail\n"; 25 echo "asinh 10.01787492741= "; 29 echo "Pass\n"; 32 echo "Fail\n";
|