/PHP-5.4/ext/spl/tests/ |
H A D | array_003.phpt | 6 // This test also needs to exclude the protected and private variables 10 class test 22 $test = new test; 23 $test->dyn = "dynamic"; 25 print_r($test); 27 $object = new ArrayObject($test); 31 foreach($test as $key => $val) 40 test Object 44 [pri:test:private] => private 50 [storage:ArrayObject:private] => test Object [all …]
|
H A D | CallbackFilterIteratorTest.phpt | 7 function test($value, $key, $inner) { 8 return test($value, $key, $inner); 13 static function test($value, $key, $inner) { 14 return test($value, $key, $inner); 18 function test($value, $key, $inner) { 31 'static method (2)' => function() { return 'B::test'; }, 32 'function' => function() { return 'test'; }, 36 foreach($tests as $name => $test) { 38 $callback = $test(); 48 // same test, with no reference to callback [all …]
|
H A D | observer_006.phpt | 8 public $test = 25; 12 $this->test = $test; 93 ["test"]=> 103 ["test"]=> 125 ["test"]=> 135 ["test"]=> 153 ["test"]=> 163 ["test"]=> 173 ["test"]=> 197 ["test"]=> [all …]
|
H A D | array_007.phpt | 6 // This test also needs to exclude the protected and private variables 10 class test implements IteratorAggregate 28 $test = new test; 29 $test->dyn = "dynamic"; 31 print_r($test); 33 print_r($test->getIterator()); 35 foreach($test as $key => $val) 44 test Object 48 [pri:test:private] => private 56 [storage:ArrayObject:private] => test Object [all …]
|
H A D | RecursiveCallbackFilterIteratorTest.phpt | 7 function test($value, $key, $inner) { 8 return test($value, $key, $inner); 13 static function test($value, $key, $inner) { 14 return test($value, $key, $inner); 18 function test($value, $key, $inner) { 34 'static method (2)' => function() { return 'B::test'; }, 35 'function' => function() { return 'test'; }, 39 foreach($tests as $name => $test) { 41 $callback = $test(); 52 // same test, with no reference to callback [all …]
|
H A D | DirectoryIterator_getExtension_basic.phpt | 2 SPL: DirectoryIterator::getExtension() basic test 14 $files = array('test.txt', 'test.extension', 'test..', 'test.', 'test'); 37 $files = array('test.txt', 'test.extension', 'test..', 'test.', 'test');
|
/PHP-5.4/ext/standard/tests/general_functions/ |
H A D | 009.phpt | 5 function test($str) { 9 echo test(""); 10 echo test("a"); 11 echo test("abc"); 12 echo test("message digest"); 13 echo test("abcdefghijklmnopqrstuvwxyz"); 14 echo test("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789"); 15 echo test("12345678901234567890123456789012345678901234567890123456789012345678901234567890");
|
H A D | 007.phpt | 5 function test($str) { 9 echo test(""); 10 echo test("a"); 11 echo test("abc"); 12 echo test("message digest"); 13 echo test("abcdefghijklmnopqrstuvwxyz"); 14 echo test("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789"); 15 echo test("12345678901234567890123456789012345678901234567890123456789012345678901234567890");
|
/PHP-5.4/Zend/tests/ |
H A D | ns_001.phpt | 5 namespace test\ns1; 25 $y = new \test\ns1\Foo; 27 \test\ns1\Foo::baz(); 29 test\ns1\Foo 30 test\ns1\Foo 31 test\ns1\Foo 32 test\ns1\Foo 33 test\ns1\Foo 34 test\ns1\Foo
|
H A D | ns_078.phpt | 5 namespace test\ns1; 20 use test\ns1\Foo; 21 use test\ns1\Foo as Bar; 22 use \test\ns1\Foo2; 23 use \test\ns1\Foo2 as Bar2; 30 test\ns1\Foo 31 test\ns1\Foo 32 test\ns1\Foo2 33 test\ns1\Foo2
|
H A D | ns_011.phpt | 5 namespace test\ns1; 12 \test\ns1\foo(); 14 \test\ns1\bar(); 21 test\ns1\foo 22 test\ns1\foo 23 test\ns1\bar 24 test\ns1\bar
|
H A D | ns_021.phpt | 5 namespace test; 18 \test\foo(); 19 \test\test::foo(); 21 test\foo 22 test\foo 23 test\Test::foo
|
H A D | bug63462.phpt | 36 $test = new Test(); 38 $test->nonExisting; 39 $test->publicProperty; 40 $test->protectedProperty; 41 $test->privateProperty; 42 isset($test->nonExisting); 43 isset($test->publicProperty); 44 isset($test->protectedProperty); 45 isset($test->privateProperty); 46 $test->nonExisting = 'value'; [all …]
|
/PHP-5.4/ext/soap/tests/bugs/ |
H A D | bug31695.phpt | 37 $old = $client->__setLocation("test://3"); 52 test://0 53 test://1 54 test://2 55 test://1 56 test://3 57 test://3 58 test://1 59 test://0 60 test://1 [all …]
|
/PHP-5.4/ext/pdo_pgsql/tests/ |
H A D | copy_from.phpt | 129 string(13) "test insert 0" 131 string(13) "test insert 0" 143 string(13) "test insert 1" 145 string(13) "test insert 1" 157 string(13) "test insert 2" 159 string(13) "test insert 2" 173 string(13) "test insert 0" 175 string(13) "test insert 0" 187 string(13) "test insert 1" 189 string(13) "test insert 1" [all …]
|
H A D | copy_to.phpt | 78 string(19) "0 test insert 0 \N 81 string(19) "1 test insert 1 \N 84 string(19) "2 test insert 2 \N 90 string(21) "0;test insert 0;NULL 93 string(21) "1;test insert 1;NULL 115 0 test insert 0 \N 116 1 test insert 1 \N 117 2 test insert 2 \N 120 0;test insert 0;NULL 121 1;test insert 1;NULL [all …]
|
/PHP-5.4/ext/standard/tests/file/ |
H A D | userwrapper.phpt | 5 class test { 25 we effectively test the stat cache mechanism */ 34 stream_wrapper_register('test', 'test'); 36 unlink('test://example.com/path/to/file'); 37 rename('test://example.com/path/to/from', 'test://example.com/path/to/to'); 40 mkdir('test://example.com/path/to/directory', 0755); 41 rmdir('test://example.com/path/to/directory'); 42 print_r(stat('test://example.com/path/to/file')); 47 Unlinking file: test://example.com/path/to/file 48 Renaming test://example.com/path/to/from to test://example.com/path/to/to [all …]
|
H A D | dirname_basic-win32.phpt | 29 'c:\test\afile', 30 'c:\\test\\afile', 31 'c://test//afile', 32 'c:\test\afile\\', 69 string(7) "c:\test" 70 string(7) "c:\test" 71 string(8) "c://test" 72 string(7) "c:\test" 83 string(15) " c:\test\adir" 84 string(12) "c:\test\adir" [all …]
|
/PHP-5.4/ext/spl/examples/tests/ |
H A D | dualiterator_001.phpt | 15 function test($a, $b, $identical = false) 23 test(array(1,2,3), array(1,2,3)); 24 test(array(1,2,3), array(1,2)); 25 test(array(1,array(21,22),3), array(1,array(21,22),3)); 26 test(array(1,array(21,22),3), array(1,array(21,22,23),3)); 27 test(array(1,array(21,22),3), array(1,array(21,22,3))); 28 test(array(1,array(21,22),3), array(1,array(21),array(22),3)); 29 test(array(1,2,3), array(1,"2",3), false); 30 test(array(1,2,3), array(1,"2",3), true); 31 test(array(1,array(21,22),3), array(1,array(21,"22"),3), false); [all …]
|
/PHP-5.4/ext/filter/tests/ |
H A D | 045.phpt | 15 $a = array("test"=>array("filter"=>(string)FILTER_VALIDATE_INT, "flags"=>(string)FILTER_FLAG_ALLOW_… 16 $ret = filter_var_array(array("test"=>"0xff"), $a); 17 echo ($ret["test"] === 255 && is_string($a["test"]["filter"]) && $a["test"]["filter"] == FILTER_VAL… 18 echo ($ret["test"] === 255 && is_string($a["test"]["flags"]) && $a["test"]["flags"] == FILTER_FLAG_… 19 $a = array("test"=>(string)FILTER_VALIDATE_INT); 20 $ret = filter_var_array(array("test"=>"255"), $a); 21 echo ($ret["test"] === 255 && is_string($a["test"]) && $a["test"] == FILTER_VALIDATE_INT)?"ok\n":"b…
|
/PHP-5.4/ext/json/tests/ |
H A D | bug61978.phpt | 9 public $test; 12 $this->test = '123'; 18 public $test; 20 $this->test = '123'; 24 'test' => $this->test, 42 string(44) "{"test":"123","me":{"test":"123","me":null}}" 47 string(44) "{"test":"123","me":{"test":"123","me":null}}"
|
/PHP-5.4/ext/phar/tests/cache_list/files/ |
H A D | write3.phar.inc | 9 var_dump(file_exists("phar://" . __FILE__ . "/test"), is_dir("phar://" . __FILE__ . "/test")); 10 rmdir("phar://" . __FILE__ . "/test"); 12 var_dump(file_exists("phar://" . __FILE__ . "/test"), is_dir("phar://" . __FILE__ . "/test")); 17 $phar['test.txt'] = "hi 19 $phar['test.txt']->setMetadata('hi'); 20 $phar->addEmptyDir('test');
|
/PHP-5.4/tests/classes/ |
H A D | private_members.phpt | 16 $this->test(); 20 function test() 36 $this->test(); 50 $t->test(); 59 base::test 65 derived::test 72 base::test 78 base::test 84 derived::test 91 base::test [all …]
|
H A D | bug63462.phpt | 36 $test = new Test(); 38 $test->nonExisting; 39 $test->publicProperty; 40 $test->protectedProperty; 41 $test->privateProperty; 42 isset($test->nonExisting); 43 isset($test->publicProperty); 44 isset($test->protectedProperty); 45 isset($test->privateProperty); 46 $test->nonExisting = 'value'; [all …]
|
/PHP-5.4/ext/dba/ |
H A D | config.m4 | 23 if test -n "$THIS_PREFIX" && test "$THIS_PREFIX" != "/usr"; then 31 if test -z "$THIS_INCLUDE"; then 34 if test -z "$THIS_LIBS"; then 49 if test -n "$2"; then 55 if test -n "$3"; then 58 if test "$THIS_RESULT" = "yes" || test "$THIS_RESULT" = "builtin"; then 263 if test -z "$THIS_LIBS"; then 267 if test "$1" = "4"; then 405 if test "$HAVE_DB3" = "1" || test "$HAVE_DB4" = "1"; then 451 if test "$HAVE_DB4" = "1" || test "$HAVE_DB3" = "1" || test "$HAVE_DB2" = "1"; then [all …]
|