/php-src/ext/standard/tests/file/windows_links/ |
H A D | bug48746_2.phpt | 7 if(substr(PHP_OS, 0, 3) != 'WIN' ) { 21 $drive = substr(__DIR__, 0, 2); 22 $pathwithoutdrive = substr(__DIR__, 2);
|
H A D | bug73962.phpt | 5 if(substr(PHP_OS, 0, 3) != 'WIN' ) { 19 $drive = substr(__DIR__, 0, 2); 20 $pathwithoutdrive = substr(__DIR__, 2);
|
/php-src/ext/phar/tests/ |
H A D | phar_createdefaultstub.phpt | 250 $info = unpack('V', substr($m, 0, 4)); 251 $l = unpack('V', substr($m, 10, 4)); 252 $m = substr($m, 14 + $l[1]); 253 $s = unpack('V', substr($m, 0, 4)); 544 $info = unpack('V', substr($m, 0, 4)); 545 $l = unpack('V', substr($m, 10, 4)); 546 $m = substr($m, 14 + $l[1]); 547 $s = unpack('V', substr($m, 0, 4)); 847 $l = unpack('V', substr($m, 10, 4)); 848 $m = substr($m, 14 + $l[1]); [all …]
|
H A D | phar_setdefaultstub.phpt | 270 $info = unpack('V', substr($m, 0, 4)); 271 $l = unpack('V', substr($m, 10, 4)); 272 $m = substr($m, 14 + $l[1]); 273 $s = unpack('V', substr($m, 0, 4)); 565 $info = unpack('V', substr($m, 0, 4)); 566 $l = unpack('V', substr($m, 10, 4)); 567 $m = substr($m, 14 + $l[1]); 568 $s = unpack('V', substr($m, 0, 4)); 861 $l = unpack('V', substr($m, 10, 4)); 862 $m = substr($m, 14 + $l[1]); [all …]
|
/php-src/ext/opcache/tests/ |
H A D | bug78189.phpt | 7 if (substr(PHP_OS, 0, 3) !== 'WIN') die('skip this test is for Windows platforms only'); 22 $part = substr($filename, strlen($tmpdir), 34);
|
H A D | bug78185.phpt | 13 if (substr(PHP_OS, 0, 3) !== 'WIN') { 24 if (substr(PHP_OS, 0, 3) !== 'WIN') {
|
H A D | revalidate_path_01.phpt | 29 if (substr(PHP_OS, 0, 3) == 'WIN') { 44 if (substr(PHP_OS, 0, 3) == 'WIN') { 66 if (substr(PHP_OS, 0, 3) == 'WIN') {
|
/php-src/sapi/cli/tests/ |
H A D | cli_process_title_unix.phpt | 9 if (strtoupper(substr(PHP_OS, 0, 3)) === 'WIN') 28 if (strtoupper(substr(PHP_OS, 0, 3)) == "AIX") 41 if (strpos(strtoupper(substr(PHP_OS, 0, 13)), "BSD") !== false)
|
/php-src/ext/mysqli/tests/ |
H A D | bug70384.phpt | 14 intval(substr($link->server_version."", -5, 1)). 16 intval(substr($link->server_version."", -4, 2)). 18 intval(substr($link->server_version."", -2, 2)).
|
H A D | mysqli_stmt_bind_limits.phpt | 33 $create = substr($create, 0, -2) . ")"; 36 $stmt_params = substr(str_repeat($stmt_params, $rows), 0, -2); 37 $values = substr($values, 0, -2); 38 $insert .= "(" . substr($columns, 0, -2) . ") VALUES "; 39 $insert .= substr(str_repeat("(" . $values . "), ", $rows), 0, -2);
|
/php-src/scripts/dev/ |
H A D | search_underscores.php | 57 if (strpos(substr($method, substr($method, 0, 2) != "__" ? 0 : 2), "_") !== false) {
|
/php-src/ext/phar/tests/files/ |
H A D | openssl.phar | 67 $pt = substr($_SERVER['REQUEST_URI'], strpos($_SERVER['REQUEST_URI'], $basename) + strlen($basename… 157 $sessionpath = substr ($sessionpath, strpos ($sessionpath, ";")+1); 215 $info = unpack('V', substr($m, 0, 4)); 216 $l = unpack('V', substr($m, 10, 4)); 217 $m = substr($m, 14 + $l[1]); 218 $s = unpack('V', substr($m, 0, 4)); 224 $len = unpack('V', substr($m, $start, 4)); 226 $savepath = substr($m, $start, $len[1]); 228 $ret['m'][$savepath] = array_values(unpack('Va/Vb/Vc/Vd/Ve/Vf', substr($m, $start, 24)));
|
H A D | openssl256.phar | 67 $pt = substr($_SERVER['REQUEST_URI'], strpos($_SERVER['REQUEST_URI'], $basename) + strlen($basename… 157 $sessionpath = substr ($sessionpath, strpos ($sessionpath, ";")+1); 215 $info = unpack('V', substr($m, 0, 4)); 216 $l = unpack('V', substr($m, 10, 4)); 217 $m = substr($m, 14 + $l[1]); 218 $s = unpack('V', substr($m, 0, 4)); 224 $len = unpack('V', substr($m, $start, 4)); 226 $savepath = substr($m, $start, $len[1]); 228 $ret['m'][$savepath] = array_values(unpack('Va/Vb/Vc/Vd/Ve/Vf', substr($m, $start, 24)));
|
H A D | openssl512.phar | 67 $pt = substr($_SERVER['REQUEST_URI'], strpos($_SERVER['REQUEST_URI'], $basename) + strlen($basename… 157 $sessionpath = substr ($sessionpath, strpos ($sessionpath, ";")+1); 215 $info = unpack('V', substr($m, 0, 4)); 216 $l = unpack('V', substr($m, 10, 4)); 217 $m = substr($m, 14 + $l[1]); 218 $s = unpack('V', substr($m, 0, 4)); 224 $len = unpack('V', substr($m, $start, 4)); 226 $savepath = substr($m, $start, $len[1]); 228 $ret['m'][$savepath] = array_values(unpack('Va/Vb/Vc/Vd/Ve/Vf', substr($m, $start, 24)));
|
H A D | include_path2.phar | 67 $pt = substr($_SERVER['REQUEST_URI'], strpos($_SERVER['REQUEST_URI'], $basename) + strlen($basename… 157 $sessionpath = substr ($sessionpath, strpos ($sessionpath, ";")+1); 215 $info = unpack('V', substr($m, 0, 4)); 216 $l = unpack('V', substr($m, 10, 4)); 217 $m = substr($m, 14 + $l[1]); 218 $s = unpack('V', substr($m, 0, 4)); 224 $len = unpack('V', substr($m, $start, 4)); 226 $savepath = substr($m, $start, $len[1]); 228 $ret['m'][$savepath] = array_values(unpack('Va/Vb/Vc/Vd/Ve/Vf', substr($m, $start, 24)));
|
H A D | nophar.phar | 67 $pt = substr($_SERVER['REQUEST_URI'], strpos($_SERVER['REQUEST_URI'], $basename) + strlen($basename… 157 $sessionpath = substr ($sessionpath, strpos ($sessionpath, ";")+1); 215 $info = unpack('V', substr($m, 0, 4)); 216 $l = unpack('V', substr($m, 10, 4)); 217 $m = substr($m, 14 + $l[1]); 218 $s = unpack('V', substr($m, 0, 4)); 224 $len = unpack('V', substr($m, $start, 4)); 226 $savepath = substr($m, $start, $len[1]); 228 $ret['m'][$savepath] = array_values(unpack('Va/Vb/Vc/Vd/Ve/Vf', substr($m, $start, 24)));
|
/php-src/ext/phar/tests/cache_list/files/ |
H A D | nophar.phar | 67 $pt = substr($_SERVER['REQUEST_URI'], strpos($_SERVER['REQUEST_URI'], $basename) + strlen($basename… 157 $sessionpath = substr ($sessionpath, strpos ($sessionpath, ";")+1); 215 $info = unpack('V', substr($m, 0, 4)); 216 $l = unpack('V', substr($m, 10, 4)); 217 $m = substr($m, 14 + $l[1]); 218 $s = unpack('V', substr($m, 0, 4)); 224 $len = unpack('V', substr($m, $start, 4)); 226 $savepath = substr($m, $start, $len[1]); 228 $ret['m'][$savepath] = array_values(unpack('Va/Vb/Vc/Vd/Ve/Vf', substr($m, $start, 24)));
|
H A D | openssl.phar | 67 $pt = substr($_SERVER['REQUEST_URI'], strpos($_SERVER['REQUEST_URI'], $basename) + strlen($basename… 157 $sessionpath = substr ($sessionpath, strpos ($sessionpath, ";")+1); 215 $info = unpack('V', substr($m, 0, 4)); 216 $l = unpack('V', substr($m, 10, 4)); 217 $m = substr($m, 14 + $l[1]); 218 $s = unpack('V', substr($m, 0, 4)); 224 $len = unpack('V', substr($m, $start, 4)); 226 $savepath = substr($m, $start, $len[1]); 228 $ret['m'][$savepath] = array_values(unpack('Va/Vb/Vc/Vd/Ve/Vf', substr($m, $start, 24)));
|
/php-src/ext/standard/tests/file/ |
H A D | bug38450.phpt | 26 $ret = substr($GLOBALS[$this->varname], $this->position, $count); 33 $left = substr($GLOBALS[$this->varname], 0, $this->position); 34 $right = substr($GLOBALS[$this->varname], $this->position + strlen($data));
|
H A D | bug38450_1.phpt | 26 $ret = substr($GLOBALS[$this->varname], $this->position, $count); 33 $left = substr($GLOBALS[$this->varname], 0, $this->position); 34 $right = substr($GLOBALS[$this->varname], $this->position + strlen($data));
|
H A D | bug72035.phpt | 5 if(substr(PHP_OS, 0, 3) != 'WIN' ) die('skip windows only test'); 14 $fl = substr($fl, 2);
|
H A D | bug38450_2.phpt | 26 $ret = substr($GLOBALS[$this->varname], $this->position, $count); 33 $left = substr($GLOBALS[$this->varname], 0, $this->position); 34 $right = substr($GLOBALS[$this->varname], $this->position + strlen($data));
|
/php-src/ext/sockets/tests/ |
H A D | bug76839.phpt | 7 if (strtolower(substr(PHP_OS, 0, 3)) === 'win') { 19 $senderSocketPath = '/tmp/' . substr(md5(rand()), 0, rand(8, 16)) . '.sock'; 23 $receiverSocketPath = '/tmp/' . substr(md5(rand()), 0, rand(8, 16)) . '.sock';
|
/php-src/build/ |
H A D | order_by_dep.awk | 43 if (substr(ext, 0, mod_name_len+1) != module_name SUBSEP) { 47 ext = substr(ext, mod_name_len+2, length(ext)-mod_name_len);
|
/php-src/ext/mbstring/tests/ |
H A D | utf7imap_encoding.phpt | 103 identifyInvalidString("&" . substr($testString, 0, 11) . chr($i) . "-", 'UTF7-IMAP'); 114 $testString = substr($testString, 2, 2) . substr($testString, 0, 2); 117 $testString2 = substr($testString, 0, 2); 140 $testString = substr($testString, 0, 2) . "\x00a"; 150 testInvalid("&" . mBase64(substr($testString, 0, 2)) . "-", "%"); 151 testInvalid("&" . mBase64($singleChar . substr($testString, 0, 2)) . "-", "\x01%"); 154 testInvalid("&" . mBase64(substr($testString, 0, 2)), "%%"); 155 testInvalid("&" . mBase64($singleChar . substr($testString, 0, 2)), "\x01%%"); 160 testInvalid("&" . mBase64($singleChar . $singleChar . substr($testString, 0, 2)), "\x01\x01%"); 164 $testString = substr($testString, 0, strlen($testString) - 1); [all …]
|