/PHP-5.5/Zend/tests/ |
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);
|
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-5.5/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-5.5/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 …]
|
H A D | htmlentities18.phpt | 8 "test+s & some more D", 9 "test+s & some more D", 18 foreach ($tests as $test) { 19 var_dump(htmlentities($test, ENT_QUOTES, NULL, FALSE)); 20 var_dump(htmlspecialchars($test, ENT_QUOTES, NULL, FALSE)); 28 string(33) "test+s & some more D" 29 string(33) "test+s & some more D" 30 string(34) "test+s & some more D" 31 string(34) "test+s & some more D"
|
/PHP-5.5/ext/oci8/ |
H A D | config.m4 | 5 if test -z "$SED"; then 12 if test "$PHP_OCI8_TAIL1" = "a"; then 36 if test ! -d "$OCI8_DIR"; then 39 if test -d "$OCI8_DIR/lib" && test ! -d "$OCI8_DIR/lib32"; then 41 elif test ! -d "$OCI8_DIR/lib" && test -d "$OCI8_DIR/lib32"; then 43 elif test -d "$OCI8_DIR/lib" && test -d "$OCI8_DIR/lib32"; then 61 if test -f "$OCI8_NNZ" && test -f "$OCI8_LCS"; then 79 elif test -f "$OCI8_LCS"; then 112 if test -z "$PHP_OCI8"; then 172 if test "$PHP_OCI8" = "yes" && test -z "$ORACLE_HOME"; then [all …]
|
/PHP-5.5/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());
|
H A D | bug54384.phpt | 6 function test($f) { 19 test( function() { 29 test( function() { 39 test( function() { 48 test ( function() { 57 test ( function() { 66 test ( function() { 75 test ( function() { 84 test ( function() { 93 test ( function() { [all …]
|
H A D | spl_priorityqeue_insert_two_params_error.phpt | 2 SPL: priorityQueue parameter test on insert method 14 var_dump($testHeap->insert('test')); 15 var_dump($testHeap->insert('test', 'test')); 16 var_dump($testHeap->insert('test', 'test', 'test'));
|
/PHP-5.5/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-5.5/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-5.5/ext/pdo_oci/ |
H A D | config.m4 | 13 if test -z "$PDO_OCI_VERSION"; then 22 if test "$ac_cv_sizeof_long_int" = "4" ; then 31 if test -d "$PDO_OCI_DIR/lib" && test ! -d "$PDO_OCI_DIR/lib32"; then 33 elif test ! -d "$PDO_OCI_DIR/lib" && test -d "$PDO_OCI_DIR/lib32"; then 35 elif test -d "$PDO_OCI_DIR/lib" && test -d "$PDO_OCI_DIR/lib32"; then 52 if test "$PHP_PDO_OCI" != "no"; then 54 if test "$PHP_PDO" = "no" && test "$ext_shared" = "no"; then 59 if test "$PHP_PDO_OCI" = "yes" || test -z "$PHP_PDO_OCI"; then 67 if test -z "$PDO_OCI_DIR"; then 84 if test -n "$PDO_OCI_IC_VERS"; then [all …]
|
/PHP-5.5/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-5.5/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-5.5/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
|
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");
|
/PHP-5.5/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-5.5/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-5.5/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
|
/PHP-5.5/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-5.5/ext/standard/tests/file/windows_links/ |
H A D | bug48746_2.phpt | 10 die('skip windows only test'); 24 $dirname = __DIR__ . "\\mnt\\test\\directory"; 26 chdir(__DIR__ . "\\mnt\\test"); 34 file_put_contents("$fullpath\\mnt\\test\\directory\\b.php", "<?php echo \"I am included.\n\" ?>"); 36 print_r(scandir("$fullpath\\mnt\\test\\directory")); 37 print_r(scandir("$fullpath\\mnt\\test\\mklink_junction")); 38 unlink("$fullpath\\mnt\\test\\directory\\b.php"); 41 rmdir(__DIR__ . "\\mnt\\test\\directory"); 42 rmdir(__DIR__ . "\\mnt\\test\\mklink_junction"); 43 rmdir(__DIR__ . "\\mnt\\test\\mounted_volume"); [all …]
|
/PHP-5.5/ext/standard/tests/file/ |
H A D | include_streams.phpt | 102 die("test wrapper registration failed"); 105 echo file_get_contents("test://GLOBALS/data1"); 106 include("test://GLOBALS/data1"); 107 include_once("test://GLOBALS/data2"); 108 include_once("test://GLOBALS/data2"); 123 test://GLOBALS/data1 124 test://GLOBALS/data2 126 test://GLOBALS/data3 127 test://GLOBALS/data4 129 test://GLOBALS/data5 [all …]
|
/PHP-5.5/ext/mysql/ |
H A D | config.m4 | 8 if test -r $j; then 27 if test -r $i; then 33 if test -n "$MYSQL_SOCK"; then 52 if test -z "$PHP_ZLIB_DIR"; then 57 if test "$PHP_MYSQL" = "yes" || test "$PHP_MYSQL" = "mysqlnd"; then 75 if test -z "$MYSQL_DIR"; then 92 if test -z "$PHP_LIBDIR"; then 148 if test "$PHP_MYSQL" != "no"; then 150 if test "$PHP_MYSQL_SOCK" != "no" && test "$PHP_MYSQL_SOCK" != "yes"; then 154 elif test "$PHP_MYSQL" = "yes" || test "$PHP_MYSQL_SOCK" = "yes"; then [all …]
|