Home
last modified time | relevance | path

Searched refs:substr (Results 26 – 50 of 799) sorted by relevance

12345678910>>...32

/php-src/ext/standard/tests/file/windows_links/
H A Dbug48746_2.phpt7 if(substr(PHP_OS, 0, 3) != 'WIN' ) {
21 $drive = substr(__DIR__, 0, 2);
22 $pathwithoutdrive = substr(__DIR__, 2);
H A Dbug73962.phpt5 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 Dphar_createdefaultstub.phpt250 $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 Dphar_setdefaultstub.phpt270 $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 Dbug78189.phpt7 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 Dbug78185.phpt13 if (substr(PHP_OS, 0, 3) !== 'WIN') {
24 if (substr(PHP_OS, 0, 3) !== 'WIN') {
H A Drevalidate_path_01.phpt29 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 Dcli_process_title_unix.phpt9 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 Dbug70384.phpt14 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 Dmysqli_stmt_bind_limits.phpt33 $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 Dsearch_underscores.php57 if (strpos(substr($method, substr($method, 0, 2) != "__" ? 0 : 2), "_") !== false) {
/php-src/ext/phar/tests/files/
H A Dopenssl.phar67 $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 Dopenssl256.phar67 $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 Dopenssl512.phar67 $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 Dinclude_path2.phar67 $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 Dnophar.phar67 $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 Dnophar.phar67 $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 Dopenssl.phar67 $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 Dbug38450.phpt26 $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 Dbug38450_1.phpt26 $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 Dbug72035.phpt5 if(substr(PHP_OS, 0, 3) != 'WIN' ) die('skip windows only test');
14 $fl = substr($fl, 2);
H A Dbug38450_2.phpt26 $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 Dbug76839.phpt7 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 Dorder_by_dep.awk43 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 Dutf7imap_encoding.phpt103 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 …]

Completed in 69 milliseconds

12345678910>>...32