/PHP-7.0/tests/security/ |
H A D | open_basedir_001.phpt | 8 if (!is_dir("/usr/local/bin")) { 9 die('skip.. no /usr/local/bin on this machine'); 15 var_dump(ini_set("open_basedir", "/usr/local/bin")); 22 string(14) "/usr/local/bin" 24 string(14) "/usr/local/bin"
|
/PHP-7.0/ext/mysqli/tests/ |
H A D | mysqli_stmt_get_result_bit.phpt | 28 $bin = ''; 31 $bin .= '1'; 34 $bin .= '0'; 37 return $bin; 78 $bin = ($bits < 32) ? decbin($value) : dec32bin($value, $bits); 79 $sql = sprintf("INSERT INTO test(id, bit_value) VALUES (%s, b'%s')", $value, $bin); 80 for ($i = 0; ($i < strlen($bin)) && ($bin[$i] == '0'); $i++) 82 $bin2 = substr($bin, $i, strlen($bin)); 100 if (($value != $row['id']) || (($bin != $row['_bin']) && ($bin2 != $row['_bin']))) { 103 $bits, $value, $bits, $row['id'], $row['_bin'], $bin, $bin2); [all …]
|
H A D | mysqli_fetch_assoc_bit.phpt | 25 $bin = ''; 28 $bin .= '1'; 31 $bin .= '0'; 34 return $bin; 72 $bin = ($bits < 32) ? decbin($value) : dec32bin($value, $bits); 73 $sql = sprintf("INSERT INTO test(id, bit_value) VALUES (%s, b'%s')", $value, $bin); 74 for ($i = 0; ($i < strlen($bin)) && ($bin[$i] == '0'); $i++) 76 $bin2 = substr($bin, $i, strlen($bin)); 88 if (($value != $row['id']) || (($bin != $row['_bin']) && ($bin2 != $row['_bin']))) { 91 $bits, $value, $bits, $row['id'], $row['_bin'], $bin, $bin2); [all …]
|
H A D | mysqli_stmt_bind_result_bit.phpt | 16 $bin = ''; 19 $bin .= '1'; 22 $bin .= '0'; 25 return $bin; 89 $bin = ($bits < 32) ? decbin($value) : dec32bin($value, $bits); 90 for ($i = 0; ($i < strlen($bin)) && ($bin[$i] == '0'); $i++) 92 $bin2 = substr($bin, $i, strlen($bin)); 126 if (($value != $row['id']) || (($bin != $row['_bin']) && ($bin2 != $row['_bin']))) { 128 … printf("[012 - %d] Insert of %s in BIT(%d) column might have failed. id = %s, bin = %s (%s/%s)\n", 129 $bits, $value, $bits, $row['id'], $row['_bin'], $bin, $bin2);
|
/PHP-7.0/ext/phar/tests/ |
H A D | bug69720.phar | 2 …bin0000000…
|
/PHP-7.0/ext/standard/tests/general_functions/ |
H A D | proc_open02.phpt | 5 if (!is_executable('/bin/sleep')) echo 'skip no sleep'; 13 '/bin/sleep 2', 37 string(12) "/bin/sleep 2" 56 string(12) "/bin/sleep 2"
|
H A D | bug34794.phpt | 5 if (!is_executable('/bin/cat')) echo 'skip cat not found'; 10 $process1 = proc_open('/bin/cat', array(0 => array('pipe', 'r'), 1 =>array('pipe', 'r')), $pipes1); 13 $process2 = proc_open('/bin/cat', array(0 => array('pipe', 'r'), 1 =>array('pipe', 'r')), $pipes2);
|
H A D | bug39322.phpt | 6 if (!is_executable('/bin/sleep')) echo 'skip sleep not found'; 17 $process = proc_open('/bin/sleep 120', $descriptors, $pipes); 29 string(14) "/bin/sleep 120"
|
H A D | proc_open.phpt | 5 if (!is_executable("/bin/cat")) echo "skip"; 17 "/bin/cat",
|
/PHP-7.0/ext/pgsql/tests/ |
H A D | 14pg_update.phpt | 15 $fields = array('num'=>'1234', 'str'=>'ABC', 'bin'=>'XYZ'); 25 UPDATE "php_pgsql_test" SET "num"=1234,"str"=E'ABC',"bin"=E'XYZ' WHERE "num"=1234; 26 UPDATE "php_pgsql_test" SET "num='1234',"str='ABC',"bin='XYZ' WHERE "num='1234';
|
H A D | 12pg_insert_9.phpt | 17 $fields = array('num'=>'1234', 'str'=>'AAA', 'bin'=>'BBB'); 27 INSERT INTO "php_pgsql_test" ("num","str","bin") VALUES (1234,E'AAA',E'\\x424242'); 28 INSERT INTO "php_pgsql_test" ("num","str","bin") VALUES ('1234','AAA','BBB');
|
H A D | 13pg_select_9.phpt | 17 $fields = array('num'=>'1234', 'str'=>'ABC', 'bin'=>'XYZ'); 35 ["bin"]=> 44 ["bin"]=>
|
H A D | 14pg_update_9.phpt | 17 $fields = array('num'=>'1234', 'str'=>'ABC', 'bin'=>'XYZ'); 27 UPDATE "php_pgsql_test" SET "num"=1234,"str"=E'ABC',"bin"=E'\\x58595a' WHERE "num"=1234; 28 UPDATE "php_pgsql_test" SET "num"='1234',"str"='ABC',"bin"='XYZ' WHERE "num"='1234';
|
H A D | 17result.phpt | 33 ["bin"]=> 47 ["bin"]=> 63 ["bin"]=>
|
H A D | 10pg_convert.phpt | 16 $fields = array('num'=>'1234', 'str'=>'AAA', 'bin'=>'BBB'); 27 [""bin""]=>
|
H A D | 10pg_convert_9.phpt | 17 $fields = array('num'=>'1234', 'str'=>'AAA', 'bin'=>'BBB'); 28 [""bin""]=>
|
H A D | 12pg_insert.phpt | 15 $fields = array('num'=>'1234', 'str'=>'AAA', 'bin'=>'BBB'); 23 INSERT INTO "php_pgsql_test" ("num","str","bin") VALUES (1234,E'AAA',E'BBB');
|
H A D | 13pg_select.phpt | 15 $fields = array('num'=>'1234', 'str'=>'ABC', 'bin'=>'XYZ'); 32 ["bin"]=>
|
H A D | 18pg_escape_bytea_before.phpt | 17 pg_query($db, 'INSERT INTO '.$table_name.' (num, bin) VALUES (9876, E\''.$esc_image.'\');'); 20 $unesc_image = pg_unescape_bytea($rows[0]['bin']);
|
H A D | 18pg_escape_bytea_esc.phpt | 17 pg_query($db, 'INSERT INTO '.$table_name.' (num, bin) VALUES (9876, \''.$esc_image.'\');'); 20 $unesc_image = pg_unescape_bytea($rows[0]['bin']);
|
H A D | 18pg_escape_bytea_hex.phpt | 20 pg_query($db, 'INSERT INTO '.$table_name.' (num, bin) VALUES (9876, \''.$esc_image.'\');'); 23 $unesc_image = pg_unescape_bytea($rows[0]['bin']);
|
/PHP-7.0/ |
H A D | config.guess | 345 case `/usr/bin/uname -p` in 543 IBM_REV=`/usr/bin/oslevel` 1138 /bin/uname -p 2>/dev/null | /bin/grep entium >/dev/null \ 1149 /bin/uname -p 2>/dev/null | /bin/grep entium >/dev/null \ 1151 /bin/uname -p 2>/dev/null | /bin/grep pteron >/dev/null \ 1398 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null` 1399 /bin/uname -X = `(/bin/uname -X) 2>/dev/null` 1402 /bin/universe = `(/bin/universe) 2>/dev/null` 1403 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null` 1404 /bin/arch = `(/bin/arch) 2>/dev/null` [all …]
|
/PHP-7.0/sapi/phpdbg/tests/ |
H A D | bug73704.phpt | 11 prompt> 00001: #!/usr/bin/env php 24 #!/usr/bin/env php
|
/PHP-7.0/ext/bz2/ |
H A D | bz2_filter.c | 92 size_t bin = 0, desired; in php_bz2_decompress_filter() local 95 while (bin < bucket->buflen) { in php_bz2_decompress_filter() 112 desired = bucket->buflen - bin; in php_bz2_decompress_filter() 116 memcpy(data->strm.next_in, bucket->buf + bin, desired); in php_bz2_decompress_filter() 137 bin += desired; in php_bz2_decompress_filter() 228 size_t bin = 0, desired; in php_bz2_compress_filter() local 232 while (bin < bucket->buflen) { in php_bz2_compress_filter() 233 desired = bucket->buflen - bin; in php_bz2_compress_filter() 237 memcpy(data->strm.next_in, bucket->buf + bin, desired); in php_bz2_compress_filter() 250 bin += desired; in php_bz2_compress_filter()
|
/PHP-7.0/ext/zlib/ |
H A D | zlib_filter.c | 77 size_t bin = 0, desired; in php_zlib_inflate_filter() local 81 while (bin < (unsigned int) bucket->buflen) { in php_zlib_inflate_filter() 88 desired = bucket->buflen - bin; in php_zlib_inflate_filter() 92 memcpy(data->strm.next_in, bucket->buf + bin, desired); in php_zlib_inflate_filter() 110 bin += desired; in php_zlib_inflate_filter() 202 size_t bin = 0, desired; in php_zlib_deflate_filter() local 208 while (bin < (unsigned int) bucket->buflen) { in php_zlib_deflate_filter() 209 desired = bucket->buflen - bin; in php_zlib_deflate_filter() 213 memcpy(data->strm.next_in, bucket->buf + bin, desired); in php_zlib_deflate_filter() 225 bin += desired; in php_zlib_deflate_filter()
|