Searched refs:test (Results 251 – 275 of 5081) sorted by relevance
1...<<11121314151617181920>>...204
/php-src/Zend/tests/ |
H A D | method_static_var.phpt | 7 public static function test() { 13 Foo::test(); 15 Foo::test(); 17 Bar::test(); 18 Bar::test();
|
H A D | closure_027.phpt | 6 function test(Closure $a) { 11 test(function() { return new stdclass; }); 13 test(function() { }); 17 test($a); 22 test(new stdclass); 33 Fatal error: Uncaught TypeError: test(): Argument #1 ($a) must be of type Closure, stdClass given, … 35 #0 %s(%d): test(Object(stdClass))
|
H A D | concat_001.phpt | 8 class test { 10 return "this is test object"; 15 $o = new test; 54 string(24) "Arraythis is test object" 71 string(24) "this is test objectArray" 72 string(30) "this is test objectsome string" 73 string(22) "this is test object222" 74 string(27) "this is test object2323.444" 75 string(38) "this is test objectthis is test object" 86 string(22) "222this is test object" [all …]
|
H A D | class_alias_013.phpt | 6 namespace test\baz; 19 var_dump(new \test\baz\foo, new \test\baz\T\BAR); 23 object(test\baz\foo)#%d (0) { 25 object(test\baz\foo)#%d (0) {
|
H A D | bug36513.phpt | 5 function test($s) { 13 //test('<?php echo "1";//'); 14 test('<?php echo "1";//2'); 15 test('<?php echo "1";//22'); 16 test('<?php echo 3; // 4 ?>5');
|
H A D | bug60825.phpt | 7 class test { 14 $a = new test; 16 debug_zval_dump($a, test::$x); 19 object(test)#%d (0) refcount(%d){ 21 object(test)#%d (0) refcount(%d){
|
H A D | heredoc_012.phpt | 5 $test = "foo"; 7 test: $test 12 test: foo
|
H A D | class_constants_001.phpt | 6 class test { 11 var_dump(test::val); 12 var_dump(test::val2); 14 var_dump(test::val3); 22 Fatal error: Uncaught Error: Undefined constant test::val3 in %s:%d
|
H A D | closure_018.phpt | 7 public function test(&$x) { 16 $test = new foo; 19 var_dump($test->test($y)); 20 var_dump($x = $test->test($y));
|
/php-src/ext/soap/tests/soap12/ |
H A D | T22.phpt | 11 <test:echoOk xmlns:test="http://example.org/ts-tests" 12 env:mustUnderstand = "1">foo</test:echoOk> 15 <test:echoOk xmlns:test="http://example.org/ts-tests">foo</test:echoOk> 19 include "soap12-test.inc";
|
H A D | T56.phpt | 14 <test:DataHolder xmlns:test="http://example.org/ts-tests" 16 <test:Data enc:id="data-1" xsi:type="xsd:string"> 18 </test:Data> 19 </test:DataHolder> 22 <test:echoString xmlns:test="http://example.org/ts-tests" 25 </test:echoString> 29 include "soap12-test.inc";
|
/php-src/ext/opcache/tests/jit/ |
H A D | inc_023.phpt | 14 $test = new Test; 15 $test->prop = "a"; 16 ++$test->prop; 17 --$test->prop; 18 var_dump(++$test->prop); 19 var_dump(--$test->prop);
|
/php-src/tests/security/ |
H A D | open_basedir_realpath.phpt | 29 Warning: realpath(): open_basedir restriction in effect. File(%s\test\bad) is not within the allowe… 32 Warning: realpath(): open_basedir restriction in effect. File(%s\test\bad\bad.txt) is not within th… 35 Warning: realpath(): open_basedir restriction in effect. File(%s\test) is not within the allowed pa… 38 Warning: realpath(): open_basedir restriction in effect. File(%s\test) is not within the allowed pa… 44 Warning: realpath(): open_basedir restriction in effect. File(%s\test\bad) is not within the allowe… 53 Warning: realpath(): open_basedir restriction in effect. File(%s\test) is not within the allowed pa… 55 string(%d) "%s\test\ok" 56 string(%d) "%s\test\ok\ok.txt" 57 string(%d) "%s\test\ok\ok.txt" 58 string(%d) "%s\test\ok\ok.txt" [all …]
|
/php-src/ext/json/tests/ |
H A D | pass003.phpt | 2 JSON (http://www.crockford.com/JSON/JSON_checker/test/pass3.json) 6 $test = ' 10 "In this test": "It is an object." 15 echo 'Testing:' . $test . "\n"; 17 $obj = json_decode($test); 20 $arr = json_decode($test, true); 43 "In this test": "It is an object." 53 ["In this test"]=> 63 ["In this test"]=> 77 ["In this test"]=> [all …]
|
/php-src/ext/pdo_pgsql/ |
H A D | config.m4 | 7 if test "$PHP_PDO_PGSQL" != "no"; then 9 if test "$PHP_PDO" = "no" && test "$ext_shared" = "no"; then 17 if test -x $i/pg_config; then 23 if test -n "$PG_CONFIG"; then 29 if test "$PHP_PDO_PGSQL" = "yes"; then 37 if test -r "$i/$j/libpq-fe.h"; then 44 if test -f "$i/$j/libpq.so" || test -f "$i/$j/libpq.a"; then 51 if test -z "$PGSQL_INCLUDE"; then 55 if test -z "$PGSQL_LIBDIR"; then 59 if test -z "$PGSQL_INCLUDE" && test -z "$PGSQL_LIBDIR"; then
|
/php-src/ext/phar/tests/cache_list/files/ |
H A D | write.phar.inc | 9 echo $phar["test.txt"]->getContent(); 10 $phar["test.txt"] = "changed 12 echo $phar["test.txt"]->getContent(); 17 $phar['test.txt'] = "hi 19 $phar['test.txt']->setMetadata('hi');
|
H A D | write19.phar.inc | 9 var_dump($p["test.txt"]->getMetadata()); 10 $p["test.txt"]->setMetadata("hi2"); 11 var_dump($p["test.txt"]->getMetadata()); 15 $phar['test.txt'] = "<?php __HALT"."_COMPILER();"; 16 $phar["test.txt"]->setMetadata("hi");
|
H A D | write20.phar.inc | 9 var_dump($p["test.txt"]->getMetadata()); 10 $p["test.txt"]->delMetadata(); 11 var_dump($p["test.txt"]->getMetadata()); 15 $phar['test.txt'] = "<?php __HALT"."_COMPILER();"; 16 $phar["test.txt"]->setMetadata("hi");
|
H A D | write22.phar.inc | 9 var_dump($p["test.txt"]->isCompressed()); 10 $p["test.txt"]->decompress(); 11 var_dump($p["test.txt"]->isCompressed()); 15 $phar['test.txt'] = "<?php __HALT"."_COMPILER();"; 16 $phar['test.txt']->compress(Phar::GZ);
|
/php-src/Zend/tests/readonly_props/ |
H A D | unset.phpt | 14 $test = new Test(1); 16 unset($test->prop); 37 $test = new Test2; 38 var_dump($test->prop); // Call __get. 39 var_dump($test->prop); // Don't call __get. 41 unset($test->prop); // Unset initialized, illegal. 50 $test = new Test3; 52 unset($test->prop);
|
/php-src/Zend/tests/traits/ |
H A D | error_014.phpt | 7 public function test() { return 3; } 11 final public function test() { return 4; } 15 use foo { test as public; } 19 var_dump($x->test()); 23 Fatal error: Cannot override final method baz::test() in %s on line %d
|
/php-src/ext/standard/tests/file/ |
H A D | dirname_basic.phpt | 23 'c:\test\afile', 24 'c:\\test\\afile', 25 'c://test//afile', 26 'c:\test\afile\\', 37 ' c:\test\adir\afile.txt', 38 'c:\test\adir\afile.txt ', 39 ' c:\test\adir\afile.txt ', 44 ' c:\test\adir\afile.txt', 64 string(8) "c://test"
|
H A D | stream_rfc2397_005.phpt | 12 'data:,;test', 13 'data:text/plain,test', 14 'data:text/plain;charset=US-ASCII,test', 30 string(5) ";test" 31 string(4) "test" 32 string(4) "test"
|
/php-src/ext/spl/tests/ |
H A D | observer_003.phpt | 8 public $test = 25; 10 public function __construct($test = 42) 12 $this->test = $test; 27 var_dump($object->test); 39 var_dump($object->test);
|
/php-src/ext/standard/tests/strings/ |
H A D | bug36944.phpt | 7 var_dump(strncmp("test ", "e", -1)); 11 var_dump(strncmp("test ", "e", 10)); 12 var_dump(strncmp("test ", "e", 0)); 15 var_dump(strncasecmp("test ", "E", -1)); 19 var_dump(strncasecmp("test ", "E", 10)); 20 var_dump(strncasecmp("test ", "E", 0));
|
Completed in 29 milliseconds
1...<<11121314151617181920>>...204