Home
last modified time | relevance | path

Searched refs:a (Results 76 – 100 of 5727) sorted by relevance

12345678910>>...230

/PHP-7.4/ext/phar/tests/zip/files/
H A Dfrontcontroller3.phar.inc3 $a = new Phar(dirname(__FILE__) . '/frontcontroller3.phar.zip');
4 $a['a.php'] = 'hio';
5 $a['a.jpg'] = 'hio';
6 $a['a.phps'] = '<?php function hio(){}';
7 $a->setStub('<?php
8 function s($a)
10 static $b = array("/hi" => "a.phps");
11 if (isset($b[$a])) return $b[$a];
12 return $a;
H A Dfrontcontroller4.phar.inc3 $a = new Phar(dirname(__FILE__) . '/frontcontroller4.phar.zip');
4 $a['a.php'] = 'hio';
5 $a['a.jpg'] = 'hio';
6 $a['a.phps'] = '<?php function hio(){}';
7 $a->setStub('<?php
8 function s($a)
11 if (isset($b[$a])) return $b[$a];
12 return $a;
/PHP-7.4/ext/filter/tests/
H A D045.phpt8 $ret = filter_var("0xff", FILTER_VALIDATE_INT, $a);
11 echo ($ret === 255 && is_string($a["flags"]) && $a["flags"] == FILTER_FLAG_ALLOW_HEX)?"ok\n":"bug\n…
12 $a = (string)FILTER_FLAG_ALLOW_HEX;
13 $ret = filter_var("0xff", FILTER_VALIDATE_INT, $a);
14 echo ($ret === 255 && is_string($a) && $a == FILTER_FLAG_ALLOW_HEX)?"ok\n":"bug\n";
16 $ret = filter_var_array(array("test"=>"0xff"), $a);
17 echo ($ret["test"] === 255 && is_string($a["test"]["filter"]) && $a["test"]["filter"] == FILTER_VAL…
18 echo ($ret["test"] === 255 && is_string($a["test"]["flags"]) && $a["test"]["flags"] == FILTER_FLAG_…
19 $a = array("test"=>(string)FILTER_VALIDATE_INT);
20 $ret = filter_var_array(array("test"=>"255"), $a);
[all …]
/PHP-7.4/ext/standard/
H A Dsha1.c134 #define FF(a, b, c, d, e, w) { \ argument
136 (e) += ROTATE_LEFT ((a), 5); \
139 #define GG(a, b, c, d, e, w) { \ argument
141 (e) += ROTATE_LEFT ((a), 5); \
144 #define HH(a, b, c, d, e, w) { \ argument
146 (e) += ROTATE_LEFT ((a), 5); \
149 #define II(a, b, c, d, e, w) { \ argument
151 (e) += ROTATE_LEFT ((a), 5); \
264 FF(a, b, c, d, e, x[0]); /* 1 */
265 FF(e, a, b, c, d, x[1]); /* 2 */
[all …]
H A Dmd5.c158 (a) = (((a) << (s)) | (((a) & 0xffffffff) >> (32 - (s)))); \
159 (a) += (b);
193 uint32_t a, b, c, d; in body() local
198 a = ctx->a; in body()
204 saved_a = a; in body()
281 a += saved_a; in body()
289 ctx->a = a; in body()
299 ctx->a = 0x67452301; in PHP_MD5Init()
374 result[0] = ctx->a; in PHP_MD5Final()
375 result[1] = ctx->a >> 8; in PHP_MD5Final()
[all …]
/PHP-7.4/ext/standard/tests/array/
H A D008.phpt10 echo '$a='.var_export($a,TRUE).";\n";
27 $a = array(
28 'a'=>2,
48 'a'=>7,
67 echo '$a='.var_export($a,TRUE).";\n";
86 $a=array (
155 array_intersect($a,$b);
212 $a=array (
213 'a' => 2,
232 'a' => 7,
[all …]
/PHP-7.4/ext/standard/tests/file/
H A Dfile_get_contents_variation9.phpt13 * Description: Read the entire file into a string
26 //Data should be more than the size of a link.
28 fwrite($h, "Here is a repeated amount of data");
51a repeated amount of dataHere is a repeated amount of dataHere is a repeated amount of dataHere is…
52a repeated amount of dataHere is a repeated amount of dataHere is a repeated amount of dataHere is…
53a repeated amount of dataHere is a repeated amount of dataHere is a repeated amount of dataHere is…
/PHP-7.4/ext/reflection/tests/
H A DReflectionClass_isInstance_basic.phpt32 is myA a A? bool(true)
33 is myB a A? bool(true)
34 is myC a A? bool(false)
35 is myX a A? bool(false)
36 is myA a B? bool(false)
37 is myB a B? bool(true)
38 is myC a B? bool(false)
39 is myX a B? bool(false)
42 is myC a C? bool(true)
46 is myC a I? bool(true)
[all …]
/PHP-7.4/ext/standard/tests/strings/
H A Dsprintf_variation23.phpt50 string(1) "%a"
52 string(1) "%a"
58 %a"
59 string(1) "%a"
60 string(1) "%a"
65 string(1) "%a"
66 string(1) "%a"
67 string(1) "%a"
73 %a"
74 string(1) "%a"
[all …]
/PHP-7.4/ext/spl/tests/
H A Darray_023.phpt13 $a = new Name();
14 var_dump($a);
17 $a = unserialize(serialize($a));
19 var_dump($a);
29 $a = new Bla();
30 var_dump($a);
33 $a = unserialize(serialize($a));
35 var_dump($a);
42 string(1) "a"
51 string(1) "a"
[all …]
H A Dbug36941.phpt6 $a = new ArrayObject();
7 $a[] = 1;
9 $b = clone $a;
11 var_dump($a[0], $b[0]);
13 var_dump($a[0], $b[0]);
15 var_dump($a[0], $b[0]);
20 $a[] = 1;
22 $b = clone $a;
24 var_dump($a[0], $b[0]);
26 var_dump($a[0], $b[0]);
[all …]
/PHP-7.4/Zend/tests/
H A Dmagic_methods_001.phpt7 function __unset($a) {
9 var_dump($a);
12 public function __call($a, $b) {
14 var_dump($a);
29 $a = new foo;
31 $a->sdfdsa();
33 $a::test();
35 clone $a;
37 var_dump((string)$a);
39 unset($a->a);
[all …]
H A Dgc_035.phpt8 public $a;
14 $a = new A;
15 $a->a = $a;
16 $a->x = [];
17 $a->x[] =& $a->x;
18 $a->x[] = $a;
20 unset($a);
H A Dforeach_017.phpt7 $a = [0,1,2,3,4];
8 foreach($a as &$v) {
19 $a = [0,1,2,3,4];
20 foreach($a as &$v) {
31 $a = [0,1,2,3,4];
32 foreach($a as &$v) {
45 $a = [0,1,2,3,4];
46 foreach($a as &$v) {
57 $a = [0,1,2,3,4];
58 foreach($a as &$v) {
[all …]
H A Dgc_032.phpt7 $a = array();
8 $b =& $a;
9 $a[0] = $a;
10 var_dump($a);
11 $a = array(array());
12 $b =& $a;
13 $a[0][0] = $a;
14 var_dump($a);
H A Dbug35163_3.phpt5 $a = new stdClass;
6 $a->b = array(1);
7 $a->b[] =& $a->b;
8 $a->b[] =& $a->b;
9 $a->b[0] = 2;
10 var_dump($a);
11 $a->b = null;
12 $a = null;
H A Dbug78531.phpt5 @$u1->a += 5;
6 var_dump($u1->a);
7 @$x = ++$u2->a;
8 var_dump($u2->a);
9 @$x = $u3->a++;
10 var_dump($u3->a);
11 @$u4->a->a += 5;
12 var_dump($u4->a->a);
/PHP-7.4/ext/standard/tests/general_functions/
H A Dputenv_bug75574_utf8.phpt17 var_dump(putenv('FOO=啊a'), getenv("FOO"));
18 var_dump(putenv('FOO=啊a啊'), getenv("FOO"));
19 var_dump(putenv('FOO=啊aa'), getenv("FOO"));
20 var_dump(putenv('FOO=啊aa啊'), getenv("FOO"));
37 string(4) "啊a"
39 string(7) "啊a啊"
41 string(8) "啊aa"
43 string(11) "啊aa啊"
45 string(10) "啊a啊啊"
47 string(13) "啊a啊啊啊"
[all …]
/PHP-7.4/ext/standard/tests/serialize/
H A Dserialization_arrays_004.phpt33 $a[0] = &$a;
34 $a[1] = 1;
35 $a[2] = 1;
36 check($a);
40 $a[0] = &$a;
41 $a[1] = &$a;
42 $a[2] = 1;
43 check($a);
47 $a[0] = &$a;
48 $a[1] = &$a;
[all …]
/PHP-7.4/ext/phar/tests/cache_list/files/
H A Dfrontcontroller4.phar.inc3 $a = new Phar(dirname(__FILE__) . '/frontcontroller4.phar');
4 $a['a.php'] = 'hio';
5 $a['a.jpg'] = 'hio';
6 $a['a.phps'] = '<?php function hio(){}';
7 $a->setStub('<?php
8 function s($a)
11 if (isset($b[$a])) return $b[$a];
12 return $a;
/PHP-7.4/ext/phar/tests/files/
H A Dfrontcontroller4.phar.inc3 $a = new Phar(dirname(__FILE__) . '/frontcontroller4.phar');
4 $a['a.php'] = 'hio';
5 $a['a.jpg'] = 'hio';
6 $a['a.phps'] = '<?php function hio(){}';
7 $a->setStub('<?php
8 function s($a)
11 if (isset($b[$a])) return $b[$a];
12 return $a;
/PHP-7.4/ext/phar/tests/tar/files/
H A Dfrontcontroller4.phar.inc3 $a = new Phar(dirname(__FILE__) . '/frontcontroller4.phar.tar');
4 $a['a.php'] = 'hio';
5 $a['a.jpg'] = 'hio';
6 $a['a.phps'] = '<?php function hio(){}';
7 $a->setStub('<?php
8 function s($a)
11 if (isset($b[$a])) return $b[$a];
12 return $a;
/PHP-7.4/ext/pcre/tests/
H A Dpcre_count.phpt5 $regex = '/(([0-9a-z]+)-([0-9]+))-(([0-9]+)-([0-9]+))/';
7 $string= '1-2-3-4 a-2-3-4 1-a-3-4 1-2-a-4 1-2-3-a a-a-a-a 4-3-2-1 100-200-300-400-500-600-700-800';
13 $regex = '/([a-z]+)/';
33 string(56) "xxxx xxxx 1-a-3-4 1-2-a-4 1-2-3-a a-a-a-a xxxx xxxx-xxxx"
/PHP-7.4/ext/ctype/tests/
H A Dctype_xdigit_variation2.phpt32 character code 48 is a hexadecimal 'digit'
33 character code 49 is a hexadecimal 'digit'
34 character code 50 is a hexadecimal 'digit'
35 character code 51 is a hexadecimal 'digit'
36 character code 52 is a hexadecimal 'digit'
37 character code 53 is a hexadecimal 'digit'
38 character code 54 is a hexadecimal 'digit'
39 character code 55 is a hexadecimal 'digit'
40 character code 56 is a hexadecimal 'digit'
41 character code 57 is a hexadecimal 'digit'
[all …]
/PHP-7.4/tests/lang/
H A Dexecution_order.phpt13 $a = "bad";
16 $c = $a.($a=$b);
20 $a = "bad";
22 $c = ($a=$b).$a;
113 $a = 100;
116 echo $a + ($a=$b);
122 echo ($a=$b) + $a;
130 echo $a[$i++] + $a[$i++];
135 echo $a[++$i] + $a[++$i];
140 echo $a[$i] + ($a[$i]=400);
[all …]

Completed in 32 milliseconds

12345678910>>...230