/PHP-5.4/Zend/tests/ |
H A D | closure_027.phpt | 6 function test(closure $a) { 11 test(function() { return new stdclass; }); 13 test(function() { }); 16 test($a); 18 test(new stdclass); 31 Catchable fatal error: Argument 1 passed to test() must be an instance of Closure, instance of stdC…
|
H A D | bug34064.phpt | 7 function test_ref(&$test) 9 $test = "ok"; 12 function test($test) 21 $this->test($ar[]);
|
H A D | class_alias_012.phpt | 6 namespace test\baz; 26 object(test\baz\foo)#%d (0) { 28 object(test\baz\foo)#%d (0) { 30 object(test\baz\foo)#%d (0) { 32 object(test\baz\foo)#%d (0) {
|
H A D | heredoc_006.phpt | 2 braced complex variable replacement test (heredoc) 9 This is heredoc test #s {$a}, {$b}, {$c['c']}, and {$d->d}. 14 This is heredoc test #s {$a}, {$b}, {$c['c']}, and {$d->d}. 22 This is heredoc test #s 1, 2, 3, and 4. 23 This is heredoc test #s 1, 2, 3, and 4.
|
H A D | heredoc_007.phpt | 2 braced and unbraced complex variable replacement test (heredoc) 9 This is heredoc test #s $a, {$b}, {$c['c']}, and {$d->d}. 14 This is heredoc test #s $a, {$b}, {$c['c']}, and {$d->d}. 22 This is heredoc test #s 1, 2, 3, and 4. 23 This is heredoc test #s 1, 2, 3, and 4.
|
H A D | objects_027.phpt | 13 public function test() { 19 $foo->test(); 20 $foo::test(); 22 call_user_func(array($foo, 'test')); 23 call_user_func(array('foo', 'test')); 30 Strict Standards: Non-static method foo::test() should not be called statically in %s on line %d 38 …func() expects parameter 1 to be a valid callback, non-static method foo::test() should not be cal…
|
H A D | bug39445.phpt | 5 class test { 12 $test = new test(); 13 echo strtoupper($test);
|
H A D | bug31102.phpt | 6 $test = 0; 10 global $test; 12 echo __METHOD__ . "($class,$test)\n"; 13 switch($test) 27 while($test++ < 5) 31 eval("\$bug = new Test$test();");
|
H A D | bug20240.phpt | 8 class test 12 function test() { 31 $t = new test(); 42 test::destructor 43 test::__destruct
|
/PHP-5.4/Zend/tests/traits/ |
H A D | error_011.phpt | 7 public function test() { return 3; } 10 public function test() { return 2; } 14 public function test() { return 1; } 22 var_dump($x->test()); 26 Fatal error: Trait method test has not been applied, because there are collisions with other trait …
|
/PHP-5.4/Zend/tests/bug67436/ |
H A D | bug67436_nohandler.phpt | 19 $b->test(); 22 Strict Standards: Declaration of b::test() should be compatible with a::test($arg = c::TESTCONSTANT… 23 b::test() 24 a::test(c::TESTCONSTANT)
|
/PHP-5.4/ext/oci8/tests/ |
H A D | lob_039.phpt | 5 $target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs 30 var_dump($clob->write("clob test 1")); 33 var_dump($clob->write("clob test 2")); 36 var_dump($clob->write("clob test 3")); 61 string(11) "clob test 1" 63 string(22) " clob test 2" 65 string(33) " clob test 3"
|
/PHP-5.4/ext/standard/tests/file/ |
H A D | bug39538.phpt | 5 …y("\"\nthis is an test\", \"next data\", \"p\narsed\"","\"\r\nthis is an test\", \"next data\", \"… 19 this is an test 27 this is an test 36 this is an test
|
H A D | dirname_basic.phpt | 29 'c:\test\afile', 30 'c:\\test\\afile', 31 'c://test//afile', 32 'c:\test\afile\\', 43 ' c:\test\adir\afile.txt', 44 'c:\test\adir\afile.txt ', 45 ' c:\test\adir\afile.txt ', 50 ' c:\test\adir\afile.txt', 71 string(8) "c://test"
|
H A D | userstreams_005.phpt | 26 function test($name, $fd, $dest_size) { 30 var_dump(stream_wrapper_register('test', 'test_wrapper')); 34 $fd = fopen("test://foo","r"); 38 test("stream_truncate not implemented", $fd2, 0); 39 test("stream_truncate size 0", $fd, 0); 40 test("stream_truncate size 10", $fd, 10); 41 test("stream_truncate negative size", $fd, -1); 42 test("stream_truncate bad return", $fd3, 0);
|
/PHP-5.4/tests/classes/ |
H A D | clone_004.phpt | 12 class test extends base { 13 public $b = 'test'; 24 $o1 = new test; 42 object(test)#1 (2) { 59 object(test)#2 (2) { 76 object(test)#2 (2) {
|
/PHP-5.4/ext/mbstring/tests/ |
H A D | mb_send_mail03.phpt | 2 mb_send_mail() test 3 (lang=English) 20 mb_send_mail($to, mb_language(), "test"); 25 mb_send_mail($to, "test ".mb_language(), "test"); 37 Subject: test English 42 test
|
/PHP-5.4/ext/standard/tests/general_functions/ |
H A D | is_resource_basic.phpt | 43 echo $types[$i]. " test returns TRUE\n"; 45 echo $types[$i]. " test returns FALSE\n"; 76 bool=false test returns FALSE 77 bool=true test returns FALSE 78 integer test returns FALSE 79 double test returns FALSE 80 string test returns FALSE 81 array test returns FALSE 82 NULL test returns FALSE 83 object test returns FALSE
|
/PHP-5.4/ext/pdo/tests/ |
H A D | pdo_011.phpt | 37 $select1 = $db->prepare('SELECT grp, id FROM test'); 38 $select2 = $db->prepare('SELECT id, val FROM test'); 57 function test($id,$val='N/A') 89 test(1,N/A) 90 test(2,N/A) 91 test(3,N/A) 92 test(4,N/A) 121 test(1,A) 122 test(2,B) 123 test(3,C) [all …]
|
/PHP-5.4/ext/spl/tests/ |
H A D | iterator_to_array.phpt | 2 SPL: iterator_to_array() exceptions test 15 iterator_to_array($iterator,'test','test'); 17 iterator_to_array('test','test');
|
H A D | spl_iterator_getcallchildren.phpt | 11 $test = new RecursiveIteratorIterator($recursiveArrayIterator); 13 var_dump($test->current()); 14 $test->next(); 15 var_dump($test->current()); 17 $output = $test->callGetChildren();
|
/PHP-5.4/ext/sybase_ct/tests/ |
H A D | test_query_nostore.phpt | 7 /* This file is part of PHP test framework for ext/sybase_ct 12 require('test.inc'); 16 // Create test table and insert some data 18 create table #test ( 26 var_dump(sybase_query('insert into #test ( 32 var_dump(sybase_query('insert into #test ( 38 var_dump(sybase_query('insert into #test ( 46 $q= sybase_unbuffered_query('select * from #test order by id', $db, FALSE); 53 var_dump(sybase_query('drop table #test'));
|
/PHP-5.4/ext/soap/tests/soap12/ |
H A D | T76_2.phpt | 14 <test:DataHolder xmlns:test="http://example.org/ts-tests" 16 <test:Data enc:id="data" xsi:type="xsd:string">hello world</test:Data> 17 </test:DataHolder> 20 <test:echoString xmlns:test="http://example.org/ts-tests" 23 </test:echoString> 27 include "soap12-test.inc";
|
/PHP-5.4/ext/wddx/ |
H A D | config.m4 | 8 if test -z "$PHP_LIBXML_DIR"; then 16 if test "$PHP_WDDX" != "no"; then 21 if test "$PHP_LIBEXPAT_DIR" = "no"; then 22 if test "$PHP_LIBXML" = "no"; then 27 if test "$PHP_XML" = "no"; then 39 if test "$PHP_LIBEXPAT_DIR" != "no"; then 41 …if test -f "$i/$PHP_LIBDIR/libexpat.a" || test -f "$i/$PHP_LIBDIR/libexpat.$SHLIB_SUFFIX_NAME"; th… 47 if test -z "$EXPAT_DIR"; then
|
/PHP-5.4/ext/dba/tests/ |
H A D | dba_db4_016.phpt | 13 require_once(dirname(__FILE__) .'/test.inc'); 19 var_dump(dba_insert("key1", "This is a test insert", $db_file)); 29 // Now test reopening it 33 var_dump(dba_insert("key1", "second open test", $db_file)); 34 var_dump(dba_insert("key2", "second open test row 2", $db_file)); 54 This is a test insert 58 This is a test insert 59 second open test row 2
|