/PHP-7.0/ext/pdo_pgsql/tests/ |
H A D | copy_from.phpt | 137 string(13) "test insert 0" 139 string(13) "test insert 0" 151 string(13) "test insert 1" 153 string(13) "test insert 1" 165 string(13) "test insert 2" 167 string(13) "test insert 2" 181 string(13) "test insert 0" 183 string(13) "test insert 0" 195 string(13) "test insert 1" 197 string(13) "test insert 1" [all …]
|
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-7.0/ext/standard/tests/crypt/ |
H A D | bcrypt_invalid_cost.phpt | 5 var_dump(crypt("test", "$2a$4$1234567891234567891234567")); 6 var_dump(crypt("test", "$2a$00$1234567891234567891234567")); 7 var_dump(crypt("test", "$2a$01$1234567891234567891234567")); 8 var_dump(crypt("test", "$2a$02$1234567891234567891234567")); 9 var_dump(crypt("test", "$2a$03$1234567891234567891234567")); 10 var_dump(crypt("test", "$2a$32$1234567891234567891234567")); 11 var_dump(crypt("test", "$2a$40$1234567891234567891234567"));
|
/PHP-7.0/tests/classes/ |
H A D | bug63462.phpt | 36 $test = new Test(); 38 $test->nonExisting; 39 $test->publicProperty; 40 $test->protectedProperty; 41 $test->privateProperty; 42 isset($test->nonExisting); 43 isset($test->publicProperty); 44 isset($test->protectedProperty); 45 isset($test->privateProperty); 46 $test->nonExisting = 'value'; [all …]
|
/PHP-7.0/Zend/tests/ |
H A D | bug63462.phpt | 36 $test = new Test(); 38 $test->nonExisting; 39 $test->publicProperty; 40 $test->protectedProperty; 41 $test->privateProperty; 42 isset($test->nonExisting); 43 isset($test->publicProperty); 44 isset($test->protectedProperty); 45 isset($test->privateProperty); 46 $test->nonExisting = 'value'; [all …]
|
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-7.0/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-7.0/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 …]
|
/PHP-7.0/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-7.0/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-7.0/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-7.0/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-7.0/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-7.0/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-7.0/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-7.0/ext/pdo_mysql/ |
H A D | config.m4 | 10 if test -z "$PHP_ZLIB_DIR"; then 15 if test "$PHP_PDO_MYSQL" != "no"; then 19 if test "$PHP_MYSQL_SOCK" != "no" && test "$PHP_MYSQL_SOCK" != "yes"; then 29 if test "$PHP_PDO" = "no" && test "$ext_shared" = "no"; then 36 if test -r $j; then 43 if test "$PHP_PDO_MYSQL" != "yes" && test "$PHP_PDO_MYSQL" != "mysqlnd"; then 44 if test -f $PHP_PDO_MYSQL && test -x $PHP_PDO_MYSQL ; then 47 if test -d "$PHP_PDO_MYSQL" ; then 57 if test "$PHP_PDO_MYSQL" = "yes" || test "$PHP_PDO_MYSQL" = "mysqlnd"; then 67 if test "x$SED" = "x"; then [all …]
|
/PHP-7.0/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-7.0/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-7.0/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-7.0/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-7.0/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-7.0/ |
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. 123 MYMAIL=qa-test@domain.com 132 # Set test environment 140 if test $? -gt 0 [all …]
|