/PHP-7.0/Zend/tests/ |
H A D | closure_016.phpt | 16 $test = new Foo; 17 var_dump(is_callable($test, true, $name)); 19 var_dump(is_callable($test, false, $name)); 21 var_dump(is_callable(array($test,"__invoke"), true, $name)); 23 var_dump(is_callable(array($test,"__invoke"), false, $name)); 25 $test = foo(); 26 var_dump(is_callable($test, true, $name)); 28 var_dump(is_callable($test, false, $name)); 30 var_dump(is_callable(array($test,"__invoke"), true, $name)); 32 var_dump(is_callable(array($test,"__invoke"), false, $name));
|
H A D | bug73916.phpt | 8 $test[] =& $a; 9 $test[] =& $b; 10 test($test); 11 function test() { 16 #0 test(Array ([0] => Array ([0] => a),[1] => b Object ())) called at [%sbug73916.php:%d]
|
H A D | lsb_005.phpt | 7 public static function test() { 9 TestB::test(); 11 TestC::test(); 13 TestBB::test(); 19 public static function test() { 21 TestC::test(); 27 public static function test() { 35 TestA::test();
|
H A D | objects_024.phpt | 19 function test() { 23 $a = test()->bar = 1; 24 var_dump($a, count(foo::$bar), test()->whatever); 28 $a = test()->bar = NULL; 29 var_dump($a, count(foo::$bar), test()->whatever); 33 $a = test()->bar = test(); 34 var_dump($a, count(foo::$bar), test()->whatever);
|
/PHP-7.0/ext/standard/tests/array/ |
H A D | 002.phpt | 41 ["test"]=> 68 ["test"]=> 92 ["test"]=> 109 ["test"]=> 162 ["test"]=> 183 ["test"]=> 207 ["test"]=> 238 ["test"]=> 255 ["test"]=> 291 ["test"]=> [all …]
|
/PHP-7.0/ext/standard/tests/general_functions/ |
H A D | var_export_basic5.phpt | 26 "array(\"test\" => \"is_array\")" => array("test" => "is_array"), 30 "array(\"string\", \"test\")" => array("string", "test"), 31 "array('string', 'test')" => array('string', 'test') 201 'test' => 'is_array', 204 'test' => 'is_array', 253 1 => 'test', 257 1 => 'test', 261 1 => 'test', 268 1 => 'test', 272 1 => 'test', [all …]
|
/PHP-7.0/ext/simplexml/tests/ |
H A D | 031.phpt | 9 xmlns:s="urn::test" xmlns:t="urn::test-t"> 10 <child1>test</child1> 11 <child1>test 2</child1> 19 $sxe->addAttribute('v:att11', 'xxx', 'urn::test-v'); 22 $sxe->addAttribute('v:att11', 'xxx', 'urn::test-v'); 29 $d->addChild('m:test', 'myval', 'urn::test'); 33 $sxe->addChild('m:test1', 'myval', 'urn::test'); 35 /* New namespace test */ 52 <root xmlns:s="urn::test" xmlns:t="urn::test-t" xmlns:v="urn::test-v" s:att1="b" att1="a" v:att11="… 53 <child1>test</child1> [all …]
|
/PHP-7.0/ext/pdo_mysql/tests/ |
H A D | pdo_mysql_prepare_emulated.phpt | 105 prepex(9, $db, 'DELETE FROM test'); 111 prepex(12, $db, 'DELETE FROM test'); 125 array(':placeholder' => 'test')); 136 prepex(20, $db, 'DELETE FROM test'); 167 prepex(34, $db, 'DELETE FROM test'); 207 prepex(49, $db, 'DELETE FROM test'); 213 prepex(52, $db, 'DELETE FROM test'); 241 prepex(61, $db, 'DELETE FROM test'); 273 prepex(74, $db, 'DELETE FROM test'); 304 …$sql = "SELECT id, label FROM test WHERE id = ? AND label = (SELECT label AS 'SELECT' FROM test WH… [all …]
|
/PHP-7.0/ext/standard/tests/strings/ |
H A D | strrpos.phpt | 5 var_dump(strrpos("test test string", "test")); 6 var_dump(strrpos("test string sTring", "string")); 7 var_dump(strrpos("test strip string strand", "str")); 9 var_dump(strrpos("test string", "g")); 11 var_dump(strrpos("tEst", "test")); 12 var_dump(strrpos("teSt", "test"));
|
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 …]
|
H A D | strripos.phpt | 5 var_dump(strripos("test test string", "test")); 6 var_dump(strripos("test string sTring", "string")); 7 var_dump(strripos("test strip string strand", "str")); 9 var_dump(strripos("test string", "g")); 11 var_dump(strripos("tEst", "test")); 12 var_dump(strripos("teSt", "test"));
|
/PHP-7.0/tests/classes/ |
H A D | private_redeclare.phpt | 9 function test() { 15 $t->test(); 21 function test() { 22 echo "test\n"; 24 parent::test(); 30 $t->test(); 34 test 40 #0 %s(%d): derived->test()
|
/PHP-7.0/ext/pdo_dblib/ |
H A D | config.m4 | 8 if test "$PHP_PDO_DBLIB" != "no"; then 10 if test "$PHP_PDO" = "no" && test "$ext_shared" = "no"; then 14 if test "$PHP_PDO_DBLIB" = "yes"; then 17 if test -f $i/include/sybdb.h; then 21 elif test -f $i/include/freetds/sybdb.h; then 28 if test -z "$PDO_FREETDS_INSTALLATION_DIR"; then 32 elif test "$PHP_PDO_DBLIB" != "no"; then 34 if test -f $PHP_PDO_DBLIB/include/sybdb.h; then 45 if test "x$PHP_LIBDIR" = "x" ; then 49 …if test ! -r "$PDO_FREETDS_INSTALLATION_DIR/$PHP_LIBDIR/libsybdb.a" && test ! -r "$PDO_FREETDS_INS… [all …]
|
/PHP-7.0/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.0/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 | spl_recursiveIteratorIterator_setMaxDepth_parameter_count.phpt | 11 $test = new RecursiveIteratorIterator($recursiveArrayIterator); 13 //var_dump($test->current()); 14 $test->setMaxDepth(); 15 $test->setMaxDepth(1); 16 $test->setMaxDepth(1,2); 17 $test->setMaxDepth(1,2,3); 19 //var_dump($test->current());
|
/PHP-7.0/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.0/ext/phar/tests/files/ |
H A D | include_path.phar.inc | 2 // test advanced example 7 $phar2['test/file1.php'] = 'test/file1.php 9 $phar['hello/test.php'] = '<?php 14 include 'phar://' . __FILE__ . '/hello/test.php'; 15 …lude_path('.' . PATH_SEPARATOR . 'phar://' . dirname(__FILE__) . '/files/include_path2.phar/test'); 16 include 'phar://' . __FILE__ . '/hello/test.php';
|
/PHP-7.0/ext/oci8/tests/ |
H A D | lob_038.phpt | 117 string(11) "clob test 1" 119 string(11) "clob test 2" 121 string(11) "clob test 3" 133 string(11) "clob test 1" 141 string(11) "clob test 2" 149 string(11) "clob test 3" 159 string(11) "blob test 1" 161 string(11) "blob test 2" 175 string(11) "blob test 1" 183 string(11) "blob test 2" [all …]
|
/PHP-7.0/tests/lang/ |
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
|
/PHP-7.0/ext/pdo_oci/ |
H A D | config.m4 | 5 if test -z "$SED"; then 12 if test "$PHP_PDO_OCI_TAIL1" = "a"; then 22 if test -f "$PDO_OCI_LCS"; then 25 elif test -f $PDO_OCI_LCS_BASE.9.0; then 46 if test -d "$PDO_OCI_DIR/lib" && test ! -d "$PDO_OCI_DIR/lib32"; then 48 elif test ! -d "$PDO_OCI_DIR/lib" && test -d "$PDO_OCI_DIR/lib32"; then 50 elif test -d "$PDO_OCI_DIR/lib" && test -d "$PDO_OCI_DIR/lib32"; then 67 if test "$PHP_PDO_OCI" != "no"; then 69 if test "$PHP_PDO" = "no" && test "$ext_shared" = "no"; then 74 if test "$PHP_PDO_OCI" = "yes" || test -z "$PHP_PDO_OCI"; then [all …]
|
/PHP-7.0/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.0/ext/fileinfo/tests/ |
H A D | finfo_file_002.phpt | 24 ["%s/resources/test.awk"]=> 26 ["%s/resources/test.bmp"]=> 28 ["%s/resources/test.gif"]=> 30 ["%s/resources/test.jpg"]=> 32 ["%s/resources/test.mp3"]=> 34 ["%s/resources/test.pdf"]=> 36 ["%s/resources/test.png"]=> 38 ["%s/resources/test.ppt"]=>
|
/PHP-7.0/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…
|