/PHP-5.3/Zend/tests/ |
H A D | concat_001.phpt | 8 class test { 10 return "this is test object"; 15 $o = new test; 53 string(24) "Arraythis is test object" 58 string(24) "this is test objectArray" 59 string(30) "this is test objectsome string" 60 string(22) "this is test object222" 61 string(27) "this is test object2323.444" 62 string(38) "this is test objectthis is test object" 69 string(22) "222this is test object" [all …]
|
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 | error_reporting05.phpt | 8 class test { 17 $test = new test; 19 $test->abc = 123; 20 echo $test->bcd; 22 @$test->qwe = 123; 23 echo @$test->wer;
|
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-5.3/ext/standard/tests/general_functions/ |
H A D | parse_ini_file.phpt | 17 test = 22 test== 28 test=test= 34 test= \"new 49 test=hello 56 test=hello 87 test=test2 88 test=test3 89 test=test4 136 ["test"]=> [all …]
|
H A D | var_export_basic5.phpt | 24 "array(\"test\" => \"is_array\")" => array("test" => "is_array"), 28 "array(\"string\", \"test\")" => array("string", "test"), 29 "array('string', 'test')" => array('string', 'test') 199 'test' => 'is_array', 202 'test' => 'is_array', 251 1 => 'test', 255 1 => 'test', 259 1 => 'test', 266 1 => 'test', 270 1 => 'test', [all …]
|
/PHP-5.3/ext/standard/tests/file/windows_links/ |
H A D | bug48746_1.phpt | 10 die('skip windows only test'); 24 $dirname = __DIR__ . "\\mnt\\test\\directory"; 26 chdir(__DIR__ . "\\mnt\\test"); 36 require "$fullpath\\mnt\\test\\directory\\b.php"; 38 require_once "$fullpath\\mnt\\test\\mklink_junction\\c.php"; 42 unlink("$fullpath\\mnt\\test\\directory\\b.php"); 43 unlink("$fullpath\\mnt\\test\\mklink_junction\\c.php"); 46 rmdir(__DIR__ . "\\mnt\\test\\directory"); 47 rmdir(__DIR__ . "\\mnt\\test\\mklink_junction"); 48 rmdir(__DIR__ . "\\mnt\\test\\mounted_volume"); [all …]
|
/PHP-5.3/ext/standard/tests/class_object/ |
H A D | forward_static_call_003.phpt | 9 public static function test() { 18 public static function test() { 20 forward_static_call(array('parent', 'test')); 28 public static function test() { 30 forward_static_call(array('B', 'test')); 34 A::test(); 36 B::test(); 38 C::test();
|
H A D | forward_static_call_001.phpt | 9 public static function test() { 18 public static function test() { 20 forward_static_call(array('parent', 'test')); 25 forward_static_call(array('self', 'test')); 30 forward_static_call(array('A', 'test')); 38 public static function test() 41 forward_static_call(array('A', 'test')); 45 A::test(); 47 B::test(); 53 C::test();
|
/PHP-5.3/ext/filter/tests/ |
H A D | bug50158.phpt | 8 $email_address = "test=mail@example.com"; 11 $email_address = "test-mail@example.com"; 14 $email_address = "test+mail@example.com"; 17 $email_address = "test?mail@example.com"; 22 %unicode|string%(21) "test=mail@example.com" 23 %unicode|string%(21) "test-mail@example.com" 24 %unicode|string%(21) "test+mail@example.com" 25 %unicode|string%(21) "test?mail@example.com"
|
/PHP-5.3/ |
H A D | README.TESTING | 6 at the end of a test run. 14 The easiest way to test your PHP build is to run "make test" from the 19 type "make test" to execute all or some test scripts saved under 23 make test 69 regarded as a test file. 97 sign '#' in test names and/or test cases are named bug12345.phpt. 105 detailed test information. 122 MYMAIL=qa-test@domain.com 131 # Set test environment 139 if test $? -gt 0 [all …]
|
/PHP-5.3/ext/soap/tests/ |
H A D | setheaders.phpt | 7 $client = new SoapClient(NULL, array("location"=>"test://","uri"=>"test://", 9 $client->test(); 11 $client->__setSoapHeaders(new SoapHeader("test://","HDR1")); 12 $client->test(); 14 $client->test(); 17 $client->test(); 19 $client->__setSoapHeaders(array(new SoapHeader("test://","HDR1"),new SoapHeader("test://","HDR2"))); 20 $client->test(); 22 $h = array(new SoapHeader("test://","HDR0")); 23 $client->__soapCall("test", array(), null, $h); [all …]
|
/PHP-5.3/ext/standard/tests/strings/ |
H A D | bug23894.phpt | 6 $test = sprintf("%04d", $a); 7 var_dump($test, bin2hex($test)); 8 $test = sprintf("% 13u", $a); 9 var_dump($test, bin2hex($test));
|
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"));
|
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 …]
|
/PHP-5.3/sapi/cli/tests/ |
H A D | 007.phpt | 15 $filename = dirname(__FILE__).'/007.test.php'; 18 /* some test script */ 20 class test { /* {{{ */ 21 public $var = "test"; //test var 37 var_dump(`echo "<?php /* comment */ class test {\n // comment \n function foo() {} } ?>" | $php -n … 46 class test { public $var = "test"; private $pri; function foo() { } } ?> 50 string(43) "<?php class test { function foo() {} } ?>
|
/PHP-5.3/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-5.3/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-5.3/ext/pdo_mysql/ |
H A D | config.m4 | 10 if test -z "$PHP_ZLIB_DIR"; then 15 if test "$PHP_PDO_MYSQL" != "no"; then 17 if test "$PHP_PDO" = "no" && test "$ext_shared" = "no"; then 24 if test -r $j; then 31 if test -f $PHP_PDO_MYSQL && test -x $PHP_PDO_MYSQL ; then 34 if test -d "$PHP_PDO_MYSQL" ; then 47 if test -r $i/include/mysql/mysql.h || test -r $i/include/mysql.h ; then 62 if test -n "$PDO_MYSQL_CONFIG"; then 64 if test "x$SED" = "x"; then 75 elif test -n "$PDO_MYSQL_DIR"; then [all …]
|
/PHP-5.3/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.3/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.3/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.3/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"]=>
|