/PHP-7.4/ext/soap/tests/soap12/ |
H A D | T74.phpt | 11 <test:echoOk xmlns:test="http://example.org/ts-tests" 12 env:role="http://www.w3.org/2003/05/soap-envelope/role/next">foo</test:echoOk> 13 <test:Unknown xmlns:test="http://example.org/ts-tests"> 14 <test:raiseFault env:mustUnderstand="1" 16 </test:raiseFault> 17 </test:Unknown> 23 include "soap12-test.inc";
|
/PHP-7.4/ext/standard/tests/strings/ |
H A D | rtrim.phpt | 17 var_dump ( rtrim("rtrim test \t\0 ") ); /* without second Argument */ 19 var_dump ( rtrim("rtrim test ", NULL) ); /* with NULL as second Argument */ 61 string(10) "rtrim test" 62 string(13) "rtrim test " 63 string(18) "rtrim test " 64 string(18) "rtrim test " 65 string(10) "rtrim test" 66 string(11) "rtrim test " 67 string(10) "rtrim test" 68 string(10) "rtrim test" [all …]
|
/PHP-7.4/ext/standard/tests/array/ |
H A D | compact_this.phpt | 8 function test(){ 11 })->test() 16 function test(){ 19 })->test() 24 function test(){ 27 })->test()
|
/PHP-7.4/ext/pdo/tests/ |
H A D | pdo_020.phpt | 17 $db->exec('CREATE TABLE test(id INT NOT NULL PRIMARY KEY, val VARCHAR(10), val2 VARCHAR(16))'); 18 $db->exec("INSERT INTO test VALUES(1, 'A', 'A')"); 19 $db->exec("INSERT INTO test VALUES(2, 'B', 'B')"); 20 $db->exec("INSERT INTO test VALUES(3, 'C', 'C')"); 22 foreach (array('SELECT id, val FROM test', 'SELECT id, val, val2 FROM test', 'SELECT COUNT(*) FROM … 32 Counted 2 columns after SELECT id, val FROM test. 33 Counted 3 columns after SELECT id, val, val2 FROM test. 34 Counted 1 columns after SELECT COUNT(*) FROM test.
|
/PHP-7.4/ext/spl/tests/ |
H A D | observer_004.phpt | 8 public $test = 25; 10 public function __construct($test = 42) 12 $this->test = $test; 37 var_dump($object->test); 51 var_dump($object->test); 72 ["test"]=> 82 ["test"]=> 104 ["test"]=> 114 ["test"]=>
|
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'); 27 #0 %s(%d): iterator_to_array('test', 'test')
|
/PHP-7.4/ext/standard/tests/file/windows_links/ |
H A D | bug48746_2.phpt | 8 die('skip windows only test'); 18 $dirname = __DIR__ . "\\mnt\\test\\directory"; 20 chdir(__DIR__ . "\\mnt\\test"); 28 file_put_contents("$fullpath\\mnt\\test\\directory\\b.php", "<?php echo \"I am included.\n\" ?>"); 30 print_r(scandir("$fullpath\\mnt\\test\\directory")); 31 print_r(scandir("$fullpath\\mnt\\test\\mklink_junction")); 32 unlink("$fullpath\\mnt\\test\\directory\\b.php"); 35 rmdir(__DIR__ . "\\mnt\\test\\directory"); 36 rmdir(__DIR__ . "\\mnt\\test\\mklink_junction"); 37 rmdir(__DIR__ . "\\mnt\\test\\mounted_volume"); [all …]
|
/PHP-7.4/ext/simplexml/tests/ |
H A D | 000.phpt | 10 function test($what) 20 test('sxe'); 21 test('sxe->elem1'); 22 test('sxe->elem1[0]'); 27 test('sxe->elem1[1]'); 28 test('sxe->elem1[2]'); 29 test('sxe->elem11'); 32 test('sxe->elem22'); 104 ["test"]=> 139 ["test"]=> [all …]
|
/PHP-7.4/ext/pdo_dblib/ |
H A D | config.m4 | 6 if test "$PHP_PDO_DBLIB" != "no"; then 8 if test "$PHP_PDO" = "no" && test "$ext_shared" = "no"; then 12 if test "$PHP_PDO_DBLIB" = "yes"; then 15 if test -f $i/include/sybdb.h; then 19 elif test -f $i/include/freetds/sybdb.h; then 26 if test -z "$PDO_FREETDS_INSTALLATION_DIR"; then 30 elif test "$PHP_PDO_DBLIB" != "no"; then 32 if test -f $PHP_PDO_DBLIB/include/sybdb.h; then 35 elif test -f $PHP_PDO_DBLIB/include/freetds/sybdb.h; then 43 if test "x$PHP_LIBDIR" = "x" ; then [all …]
|
/PHP-7.4/ext/soap/tests/bugs/ |
H A D | bug30106.phpt | 11 "schema"=>"<xsd:schema><element name=\"test\" type=\"xsd:string\"/></xsd:schema>", 12 "any"=>"<test>Hello World!</test><test>Bye World!</test>")); 63 …Result><xsd:schema><element name="test" type="xsd:string"/></xsd:schema><test>Hello World!</test><… 68 string(65) "<xsd:schema><element name="test" type="xsd:string"/></xsd:schema>" 70 string(48) "<test>Hello World!</test><test>Bye World!</test>"
|
H A D | bug41097.phpt | 7 function test($soap, $array) { 8 $soap->test($array); 13 $soap = new SoapClient(null, array('uri' => 'http://uri/', 'location' => 'test://', 'exceptions' =>… 14 test($soap, array('Foo', 'Bar')); 15 test($soap, array(5 => 'Foo', 10 => 'Bar')); 16 test($soap, array('5' => 'Foo', '10' => 'Bar')); 17 $soap->test(new SoapVar(array('Foo', 'Bar'), APACHE_MAP)); 19 $soap->test(new SoapVar(array('Foo', 'Bar'), SOAP_ENC_ARRAY));
|
/PHP-7.4/Zend/tests/ |
H A D | bug78589.phpt | 10 $test = new Test; 11 $test->foo = [&$test->foo]; 12 $ary = [&$ary, $test]; 13 unset($ary, $test);
|
H A D | bug19859.phpt | 5 class test 9 print "test::__call invoked for method '$method'\n"; 12 $x = new test; 18 test::__call invoked for method 'fake' 19 test::__call invoked for method 'fake' 20 test::__call invoked for method 'fake'
|
H A D | bug24436.phpt | 7 class test { 9 if (empty($this->test[0][0])) { print "test1\n";} 10 if (!isset($this->test[0][0])) { print "test2\n";} 11 if (empty($this->test)) { print "test1\n";} 12 if (!isset($this->test)) { print "test2\n";} 16 $test1 = new test();
|
/PHP-7.4/ext/opcache/tests/ |
H A D | exit_in_call_arg.phpt | 6 function test($c) { 10 var_dump("test"); 13 test(false); 14 test(true); 18 string(4) "test"
|
/PHP-7.4/ext/zlib/tests/ |
H A D | bug71417.phpt | 8 function test($case) { 15 // $ php test-zlib-inflate.php 18 // $ gzip test-zlib-inflate.gz 23 // $ php test-zlib-inflate.php 25 // $ gzip test-zlib-inflate.gz 30 // $ php test-zlib-inflate.php 33 // $ gzip test-zlib-inflate.gz 62 test(1); 63 test(2); 64 test(3); [all …]
|
/PHP-7.4/tests/lang/ |
H A D | string_decimals_001.phpt | 5 function test($str) { 12 test("..9"); 13 test(".9."); 14 test("9.."); 15 test("9.9."); 16 test("9.9.9");
|
H A D | bug27439.phpt | 12 class test { 56 $test = new test(); 57 $test->case1(); 58 $test->case2(); 59 $test->case3(); 60 $test->case4(); 61 $test->case5(); 62 $test->case6(); 68 Notice: Undefined property: test::$foobar in %s on line %d
|
H A D | bug73172.inc | 3 function test($a, $x, $y){ 6 test('test', 9223372036854775808, 'test');
|
/PHP-7.4/Zend/tests/type_declarations/ |
H A D | typed_properties_092.phpt | 26 $test = new Test; 27 $test->foo(); 28 $test->foo(); 29 $test->bar(); 30 $test->bar(); 31 var_dump($test);
|
H A D | typed_properties_class_loading.phpt | 15 $test = new Test; 17 $test->propX = new stdClass; 26 $test->propX = new X; 27 var_dump($test->propX); 29 $test->propY = null; 30 $r =& $test->propY; 32 $test->propY = new stdClass; 42 var_dump($test->propY);
|
/PHP-7.4/Zend/tests/variadic/ |
H A D | typehint_error.phpt | 6 function test(array... $args) { 10 test(); 11 test([0], [1], [2]); 12 test([0], [1], 2); 36 Fatal error: Uncaught TypeError: Argument 3 passed to test() must be of the type array, int given, … 38 #0 %s(%d): test(Array, Array, 2)
|
/PHP-7.4/ext/pdo_oci/ |
H A D | config.m4 | 1 if test -z "$SED"; then 8 if test "$PHP_PDO_OCI_TAIL1" = "a"; then 19 if test -f "$PDO_OCI_LCS"; then 23 elif test -f $PDO_OCI_LCS_BASE.9.0; then 45 if test -d "$PDO_OCI_DIR/lib" && test ! -d "$PDO_OCI_DIR/lib32"; then 47 elif test ! -d "$PDO_OCI_DIR/lib" && test -d "$PDO_OCI_DIR/lib32"; then 49 elif test -d "$PDO_OCI_DIR/lib" && test -d "$PDO_OCI_DIR/lib32"; then 64 if test "$PHP_PDO_OCI" != "no"; then 66 if test "$PHP_PDO" = "no" && test "$ext_shared" = "no"; then 71 if test "$PHP_PDO_OCI" = "yes" || test -z "$PHP_PDO_OCI"; then [all …]
|
/PHP-7.4/Zend/tests/arg_unpack/ |
H A D | traversable_with_by_ref_parameters.phpt | 6 function test($val1, $val2, $val3, &$ref) { 16 test(1, 2, 3, $b, ...gen([4, 5, 6])); 19 test(...gen([1, 2, 3, 4])); 20 test(1, 2, ...gen([3, 4])); 21 test(...gen([1, 2]), ...gen([3, 4])); 27 Warning: Cannot pass by-reference argument 4 of test() by unpacking a Traversable, passing by-value… 29 Warning: Cannot pass by-reference argument 4 of test() by unpacking a Traversable, passing by-value… 31 Warning: Cannot pass by-reference argument 4 of test() by unpacking a Traversable, passing by-value…
|
/PHP-7.4/ext/pdo_sqlite/tests/ |
H A D | bug_42589.phpt | 11 $db->exec('CREATE TABLE test (field1 VARCHAR(10))'); 12 $db->exec('INSERT INTO test VALUES("test")'); 14 $result = $db->query('SELECT * FROM test t1 LEFT JOIN test t2 ON t1.field1 = t2.field1'); 18 var_dump(!empty($meta1['table']) && $meta1['table'] == 'test'); 19 var_dump(!empty($meta2['table']) && $meta2['table'] == 'test');
|