/PHP-5.4/Zend/tests/ |
H A D | lsb_001.phpt | 38 echo TestClass::testStaticVar() . "\n"; 39 echo TestClass::testClassConst() . "\n"; 40 echo TestClass::testStaticFunction() . "\n"; 42 echo ChildClass1::testStaticVar() . "\n"; 43 echo ChildClass1::testClassConst() . "\n"; 44 echo ChildClass1::testStaticFunction() . "\n"; 46 echo ChildClass2::testStaticVar() . "\n"; 47 echo ChildClass2::testClassConst() . "\n"; 48 echo ChildClass2::testStaticFunction() . "\n";
|
H A D | jump04.phpt | 6 echo "1: ok\n"; 8 echo "4: ok\n"; 10 echo "2: ok\n"; 12 echo "3: ok\n"; 15 echo "bug\n"; 17 echo "bug\n";
|
H A D | lsb_002.phpt | 43 echo $testClass->testStaticVar() . "\n"; 44 echo $testClass->testClassConst() . "\n"; 45 echo $testClass->testStaticFunction() . "\n"; 47 echo $childClass1->testStaticVar() . "\n"; 48 echo $childClass1->testClassConst() . "\n"; 49 echo $childClass1->testStaticFunction() . "\n"; 51 echo $childClass2->testStaticVar() . "\n"; 52 echo $childClass2->testClassConst() . "\n"; 53 echo $childClass2->testStaticFunction() . "\n";
|
H A D | ns_010.phpt | 11 echo "class ok\n"; 14 echo "method ok\n"; 23 echo Foo::C; 24 echo Y\Foo::C; 25 echo \X\Foo::C; 26 echo Foo::$var; 27 echo Y\Foo::$var; 28 echo \X\Foo::$var;
|
H A D | bug37632.phpt | 10 echo __METHOD__ . "\n"; 18 echo __METHOD__ . "\n"; 27 echo __METHOD__ . "\n"; 38 echo __METHOD__ . "\n"; 46 echo __METHOD__ . "\n"; 55 echo __METHOD__ . "\n"; 74 echo __METHOD__ . "\n"; 82 echo __METHOD__ . "\n"; 91 echo __METHOD__ . "\n"; 103 echo __METHOD__ . "\n"; [all …]
|
/PHP-5.4/ext/standard/tests/strings/ |
H A D | bug20261.phpt | 9 echo "1: ".$first."\n"; 10 echo "2: ".$second."\n"; 11 echo "3: ".$rot."\n"; 15 echo "1: ".$first."\n"; 16 echo "2: ".$second."\n"; 17 echo "3: ".$rot."\n";
|
H A D | str_rot13_basic.phpt | 9 echo "*** Testing str_rot13() : basic functionality ***\n"; 11 echo "\nBasic tests\n"; 15 echo "\nEnsure numeric characters are left untouched\n"; 17 echo "Strings equal : TEST PASSED\n"; 19 echo "Strings unequal : TEST FAILED\n"; 22 echo "\nEnsure non-alphabetic characters are left untouched\n"; 24 echo "Strings equal : TEST PASSED\n"; 26 echo "Strings unequal : TEST FAILED\n"; 29 echo "\nEnsure strings round trip\n"; 34 echo "Strings equal : TEST PASSED\n"; [all …]
|
H A D | htmlspecialchars_decode_variation7.phpt | 19 echo "$t\tNOT DECODED\n"; 21 echo "$t\tDECODED\n"; 30 echo "$t\tNOT DECODED\n"; 32 echo "$t\tDECODED\n"; 41 echo "$t\tNOT DECODED\n"; 43 echo "$t\tDECODED\n"; 52 echo "$t\tNOT DECODED\n"; 54 echo "$t\tDECODED\n"; 65 echo "$t\tDECODED\n"; 76 echo "$t\tDECODED\n"; [all …]
|
H A D | printf_basic9.phpt | 28 echo "\n-- Calling printf() with no arguments --\n"; 30 echo "\n"; 33 echo "\n-- Calling printf() with one arguments --\n"; 35 echo "\n"; 38 echo "\n"; 41 echo "\n-- Calling printf() with two arguments --\n"; 43 echo "\n"; 46 echo "\n"; 49 echo "\n-- Calling printf() with three arguments --\n"; 51 echo "\n"; [all …]
|
/PHP-5.4/ext/phar/tests/tar/ |
H A D | phar_setdefaultstub.phpt | 13 $phar['a.php'] = '<php echo "this is a\n"; ?>'; 14 $phar['b.php'] = '<php echo "this is b\n"; ?>'; 15 $phar->setStub('<?php echo "Hello World\n"; __HALT_COMPILER(); ?>'); 19 echo "============================================================================\n"; 20 echo "============================================================================\n"; 26 echo $e->getMessage(). "\n"; 31 echo "============================================================================\n"; 32 echo "============================================================================\n"; 38 echo $e->getMessage(). "\n"; 50 echo $e->getMessage(). "\n"; [all …]
|
/PHP-5.4/ext/phar/tests/zip/ |
H A D | phar_setdefaultstub.phpt | 13 $phar['a.php'] = '<php echo "this is a\n"; ?>'; 14 $phar['b.php'] = '<php echo "this is b\n"; ?>'; 15 $phar->setStub('<?php echo "Hello World\n"; __HALT_COMPILER(); ?>'); 19 echo "============================================================================\n"; 20 echo "============================================================================\n"; 26 echo $e->getMessage(). "\n"; 31 echo "============================================================================\n"; 32 echo "============================================================================\n"; 38 echo $e->getMessage(). "\n"; 50 echo $e->getMessage(). "\n"; [all …]
|
/PHP-5.4/ext/imap/tests/ |
H A D | imap_createmailbox_basic.phpt | 14 echo "*** Testing imap_createmailbox() : basic functionality ***\n"; 23 echo "Newname will be '$newname'\n"; 28 echo "Add a couple of msgs to '$newname' mailbox\n"; 33 echo "Your new mailbox '$newname' has the following status:\n"; 34 echo "Messages: " . $status->messages . "\n"; 35 echo "Recent: " . $status->recent . "\n"; 36 echo "Unseen: " . $status->unseen . "\n"; 37 echo "UIDnext: " . $status->uidnext . "\n"; 38 echo "UIDvalidity: " . $status->uidvalidity . "\n"; 41 echo "imap_status on new mailbox failed: " . imap_last_error() . "\n"; [all …]
|
/PHP-5.4/ext/filter/tests/ |
H A D | 005.phpt | 11 echo $_GET['id']; 12 echo "\n"; 13 echo $_GET['pgurl']; 14 echo "\n"; 15 echo $_REQUEST['id']; 16 echo "\n"; 17 echo $_REQUEST['pgurl'];
|
/PHP-5.4/ext/standard/tests/array/ |
H A D | array_walk_variation8.phpt | 14 * echo language construct 17 echo "*** Testing array_walk() : built-in function as callback ***\n"; 21 echo "-- With 'pow' built-in function --\n"; 24 echo "-- With 'min' built-in function --\n"; 27 echo "-- With 'echo' language construct --\n"; 28 var_dump( array_walk($input, "echo")); 30 echo "Done" 38 -- With 'echo' language construct -- 40 Warning: array_walk() expects parameter 2 to be a valid callback, function 'echo' not found or inva…
|
H A D | array_shift_variation6.phpt | 16 echo "*** Testing array_shift() : usage variations ***\n"; 18 echo "\n-- Variable is referenced array --\n"; 22 echo "Result: "; 24 echo "\n\$original_array:\n"; 26 echo "\n\$copied_array:\n"; 29 echo "\n-- Element is referenced array --\n"; 31 echo "Result: "; 33 echo "\n\$new_array:\n"; 35 echo "\n\$copied_array\n"; 38 echo "Done";
|
/PHP-5.4/ext/pgsql/tests/ |
H A D | 27large_object_oid.phpt | 17 echo "create LO from int\n"; 20 if (!$oid) echo ("pg_lo_create() error\n"); 21 if ($oid != 21000) echo ("pg_lo_create() wrong id\n"); 25 echo "create LO from string\n"; 28 if (!$oid) echo ("pg_lo_create() error\n"); 29 if ($oid != 21001) echo ("pg_lo_create() wrong id\n"); 33 echo "create LO using default connection\n"; 36 if (!$oid) echo ("pg_lo_create() error\n"); 37 if ($oid != 21002) echo ("pg_lo_create() wrong id\n"); 41 echo "OK";
|
H A D | 26async_query_prepared.phpt | 18 echo "pg_send_prepare() error\n"; 22 echo "pg_connection_status() error\n"; 26 echo "pg_get_result() error\n"; 31 echo "pg_send_execute() error\n"; 39 echo "pg_get_result() error\n"; 43 echo "pg_num_rows() error\n"; 73 echo "pg_send_prepare() error\n"; 81 echo "pg_get_result() error\n"; 87 echo "pg_send_execute() error\n"; 95 echo "pg_get_result() error\n"; [all …]
|
/PHP-5.4/ext/spl/tests/ |
H A D | bug45622b.phpt | 6 function __get($n) { echo "In " . __METHOD__ . "!\n"; } 7 function __set($n, $v) { echo "In " . __METHOD__ . "!\n"; } 8 function __isset($n) { echo "In " . __METHOD__ . "!\n"; } 9 function __unset($n) { echo "In " . __METHOD__ . "!\n"; } 13 echo "Doesn't trigger __get.\n"; 14 echo $ao->prop1; 16 echo "Doesn't trigger __set.\n"; 19 echo "Doesn't trigger __unset.\n"; 22 echo "Shouldn't trigger __isset.\n";
|
H A D | dllist_001.phpt | 10 echo "Exception: ".$e->getMessage()."\n"; 15 echo "Exception: ".$e->getMessage()."\n"; 21 echo $dll->pop()."\n"; 25 echo $dll->shift()."\n"; 30 echo $dll->top()."\n"; 31 echo $dll->bottom()."\n"; 38 echo count($dll)."\n"; 39 echo $dll->count()."\n"; 47 echo count($dll)."\n";
|
H A D | spl_autoload_001.phpt | 8 echo "===EMPTY===\n"; 18 echo 'Exception: ' . $e->getMessage() . "\n"; 25 echo "===($exts)===\n"; 32 echo 'Exception: ' . $e->getMessage() . "\n"; 43 echo 'Exception: ' . $e->getMessage() . "\n"; 48 echo __METHOD__ . "($classname)\n"; 53 echo __METHOD__ . "($classname)\n"; 56 echo "===SPL_AUTOLOAD()===\n"; 70 echo "===REGISTER===\n"; 87 echo "===LOAD===\n"; [all …]
|
H A D | recursive_tree_iterator_001.phpt | 28 echo "-- flags = BYPASS_KEY --\n"; 30 echo "[$k] => $v\n"; 32 echo "-- flags = BYPASS_CURRENT --\n"; 34 echo "[$k] => $v\n"; 36 echo "-- flags = BYPASS_KEY|BYPASS_KEY --\n"; 38 echo "[$k] => $v\n"; 40 echo "-- flags = 0 --\n"; 42 echo "[$k] => $v\n"; 44 echo "-- flags = 0, caching_it_flags = CachingIterator::CATCH_GET_CHILD --\n"; 46 echo "[$k] => $v\n";
|
/PHP-5.4/ext/date/tests/ |
H A D | bug33578.phpt | 6 echo date('m/d/Y', strtotime('Oct 11')), "\n"; 7 echo date('m/d/Y', strtotime('11 Oct')), "\n"; 8 echo date('m/d/Y', strtotime('11 Oct 2005')), "\n"; 9 echo date('m/d/Y', strtotime('Oct11')), "\n"; 10 echo date('m/d/Y', strtotime('11Oct')), "\n"; 11 echo date('m/d/Y', strtotime('11Oct 2005')), "\n"; 12 echo date('m/d/Y', strtotime('11Oct2005')), "\n";
|
H A D | DateTime_data-fall-type2-type3.inc | 23 echo "test_time_fall_type2_prev_type3_prev: "; 28 echo "test_time_fall_type2_prev_type3_dt: "; 45 echo "test_time_fall_type2_prev_type3_st: "; 50 echo "test_time_fall_type2_prev_type3_post: "; 55 echo "test_time_fall_type2_dt_type3_prev: "; 60 echo "test_time_fall_type2_dt_type3_dt: "; 77 echo "test_time_fall_type2_dt_type3_st: "; 82 echo "test_time_fall_type2_dt_type3_post: "; 151 echo "test_time_fall_type2_st_type3_prev: "; 156 echo "test_time_fall_type2_st_type3_dt: "; [all …]
|
/PHP-5.4/ext/standard/tests/file/ |
H A D | fopen_variation19.phpt | 40 echo "soft link:"; 42 echo "hard link:"; 44 echo "link of link:"; 48 echo "soft link:"; 50 echo "hard link:"; 52 echo "link of link:"; 56 echo "soft link:"; 58 echo "hard link:"; 60 echo "link of link:"; 74 echo "\n"; [all …]
|
H A D | stream_rfc2397_007.phpt | 14 echo "===$stream===\n"; 20 echo "===S:4,S===\n"; 24 echo "===GETC===\n"; 28 echo "===GETC===\n"; 32 echo "===REWIND===\n"; 36 echo "===GETC===\n"; 40 echo "===S:3,S===\n"; 44 echo "===S:1,C===\n"; 48 echo "===S:-2,C===\n"; 56 echo "===S:3,S===\n"; [all …]
|