/PHP-5.6/ext/dba/ |
H A D | config.m4 | 23 if test -n "$THIS_PREFIX" && test "$THIS_PREFIX" != "/usr"; then 31 if test -z "$THIS_INCLUDE"; then 34 if test -z "$THIS_LIBS"; then 49 if test -n "$2"; then 55 if test -n "$3"; then 58 if test "$THIS_RESULT" = "yes" || test "$THIS_RESULT" = "builtin"; then 263 if test -z "$THIS_LIBS"; then 267 if test "$1" = "4"; then 409 if test "$HAVE_DB3" = "1" || test "$HAVE_DB4" = "1"; then 455 if test "$HAVE_DB4" = "1" || test "$HAVE_DB3" = "1" || test "$HAVE_DB2" = "1"; then [all …]
|
/PHP-5.6/sapi/phpdbg/tests/commands/ |
H A D | 0102_print.test | 3 # purpose: test print commands 7 #[User Class: test] 9 #L%d-%d test::testMethod() %s 11 # L%d-%d test::testPrivateMethod() %s 13 # L%d-%d test::testProtectedMethod() %s 16 # L%d-%d test::testMethod() %s 20 class test { 26 print class test 27 print method test::testMethod
|
/PHP-5.6/Zend/tests/arg_unpack/ |
H A D | basic.phpt | 6 function test(...$args) { 26 test(...[]); 27 test(...[1, 2, 3]); 28 test(...$array); 29 test(...getArray([1, 2, 3])); 30 test(...arrayGen([])); 31 test(...arrayGen([1, 2, 3])); 33 test(1, ...[2, 3], ...[4, 5]); 34 test(1, ...getArray([2, 3]), ...arrayGen([4, 5]));
|
/PHP-5.6/ext/phar/tests/cache_list/files/ |
H A D | write3.phar | 3 var_dump(file_exists("phar://" . __FILE__ . "/test"), is_dir("phar://" . __FILE__ . "/test")); 4 rmdir("phar://" . __FILE__ . "/test"); 6 var_dump(file_exists("phar://" . __FILE__ . "/test"), is_dir("phar://" . __FILE__ . "/test")); 9 i s:2:"hi";test.txt���Hzzo� s:2:"hi";test/���H…
|
/PHP-5.6/ext/mysqli/tests/ |
H A D | 001.phpt | 13 $test = ""; 15 /*** test mysqli_connect localhost:port ***/ 17 $test .= ($link) ? "1" : "0"; 20 /*** test mysqli_real_connect ***/ 22 $test.= (my_mysqli_real_connect($link, $host, $user, $passwd, "", $port, $socket) ) 26 /*** test mysqli_real_connect with db ***/ 28 $test .= (my_mysqli_real_connect($link, $host, $user, $passwd, $db, $port, $socket)) 32 /*** test mysqli_real_connect with port ***/ 34 $test .= (my_mysqli_real_connect($link, $host, $user, $passwd, $db, $port, $socket)) 49 /*** test mysqli_real_connect compressed ***/ [all …]
|
/PHP-5.6/ext/standard/tests/strings/ |
H A D | ltrim.phpt | 30 var_dump ( ltrim(" \t\0 ltrim test") ); /* without second Argument */ 32 var_dump ( ltrim(" ltrim test", NULL) ); /* with NULL as second Argument */ 67 string(10) "ltrim test" 68 string(13) " ltrim test" 69 string(18) " ltrim test" 70 string(18) " ltrim test" 71 string(10) "ltrim test" 72 string(11) " ltrim test" 73 string(10) "ltrim test" 74 string(10) "ltrim test" [all …]
|
H A D | strtr_basic.phpt | 15 test strtr 19 var_dump( strtr("test strtr", "t", "T") ); 20 var_dump( strtr('test strtr', 't', 'T') ); 25 var_dump( strtr("test strtr", "test", "TEST") ); 26 var_dump( strtr('test strtr', 'test', 'TEST') ); 27 var_dump( strtr($heredoc_str, "test", "TEST") ); 30 var_dump( strtr("test strtr", "test", "TESTz") ); 31 var_dump( strtr('test strtr', 'testz', 'TEST') ); 32 var_dump( strtr($heredoc_str, "test", "TESTz") ); 35 var_dump( strtr("test strtr", $trans1_arr) ); [all …]
|
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));
|
/PHP-5.6/sapi/fpm/fpm/ |
H A D | fpm_log.c | 104 int token, test; in fpm_log_write() local 121 test = 0; in fpm_log_write() 123 test = 1; in fpm_log_write() 128 if (!test) { in fpm_log_write() 197 if (!test) { in fpm_log_write() 235 if (!test) { in fpm_log_write() 243 if (!test) { in fpm_log_write() 249 if (!test) { in fpm_log_write() 255 if (!test) { in fpm_log_write() 447 if (!test) { in fpm_log_write() [all …]
|
/PHP-5.6/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 | 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-5.6/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.6/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.6/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.6/ext/gd/tests/ |
H A D | bug53504.phpt | 20 // Kerning examples (unfortunately not available in "Tuffy" test font): 48 // "Big" test: 52 foreach ($tests as $testnum => $test) { 53 $bbox = imageftbbox($test['fontSize'], $test['angle'], $font, $test['text']); 56 $exp = $test['exp'][$i]; 65 $bboxDrawn = imagefttext($g, $test['fontSize'], $test['angle'], 66 $test['x'], $test['y'], $black, $font, $test['text']); 70 if ($bbox[$i] + $test['x'] !== $bboxDrawn[$i]) echo "imageftbbox and imagefttext differ!\n"; 79 imageline($g, $test['x'], $test['y'], 80 $test['x'] + $width * cos(deg2rad($test['angle'])), [all …]
|
/PHP-5.6/ext/ldap/ |
H A D | config.m4 | 6 if test -f $1/include/ldap.h; then 14 elif test -f $1/ldap/public/ldap.h; then 44 if test "$1" = "yes"; then 62 if test "$LDAP_SASL_DIR"; then 93 if test "$PHP_LDAP" != "no"; then 97 if test "$PHP_LDAP" = "yes"; then 105 if test -z "$LDAP_DIR"; then 114 if test `uname` = "Linux"; then 120 if test -f $LDAP_LIBDIR/liblber.a || test -f $LDAP_LIBDIR/liblber.$SHLIB_SUFFIX_NAME; then 124 …elif test -f $LDAP_LIBDIR/libldap.$SHLIB_SUFFIX_NAME || test -f $LDAP_LIBDIR/libldap.$SHLIB_SUFFIX… [all …]
|
/PHP-5.6/ |
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.6/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.6/ext/pdo_pgsql/tests/ |
H A D | copy_to.phpt | 85 string(19) "0 test insert 0 \N 88 string(19) "1 test insert 1 \N 91 string(19) "2 test insert 2 \N 97 string(21) "0;test insert 0;NULL 100 string(21) "1;test insert 1;NULL 122 0 test insert 0 \N 123 1 test insert 1 \N 124 2 test insert 2 \N 127 0;test insert 0;NULL 128 1;test insert 1;NULL [all …]
|
/PHP-5.6/ext/standard/tests/array/ |
H A D | 002.phpt | 41 ["test"]=> 68 ["test"]=> 92 ["test"]=> 109 ["test"]=> 160 ["test"]=> 181 ["test"]=> 205 ["test"]=> 236 ["test"]=> 253 ["test"]=> 287 ["test"]=> [all …]
|
/PHP-5.6/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.6/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 | 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;
|
/PHP-5.6/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 …]
|