Home
last modified time | relevance | path

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

12345678910>>...237

/php-src/ext/phar/tests/cache_list/files/
H A Dfrontcontroller8.phar.inc3 $a = new Phar(dirname(__FILE__) . '/frontcontroller8.phar');
4 $a['a.phps'] = 'hio1';
6 $a['a.jpg'] = 'hio2';
7 $a['a.php'] = '<?php function hio(){}';
8 $a['fronk.gronk'] = 'hio3';
9 $a['404.php'] = 'My 404 is rawesome';
10 $a['noext'] = 'hi';
11 $a['unknown.ext'] = '<?php var_dump("hi");';
12 $a['bigfile.txt'] = str_repeat('a', 8193);
13 $a['fatalerror.phps'] = '<?php oopsie_daisy();';
[all …]
/php-src/Zend/tests/type_declarations/
H A Dtyped_properties_061.phpt8 $a = new class {
20 $a->_ += 1;
21 var_dump($a->foo);
23 $a->_ .= "1";
24 var_dump($a->foo);
26 $a->_ .= "e50";
27 var_dump($a->foo);
29 $a->_--;
32 --$a->_;
37 $a->_++;
[all …]
H A Dtyped_properties_065.phpt15 $a[0] += 1;
16 var_dump($a->foo);
18 $a[0] .= "1";
19 var_dump($a->foo);
21 $a[0] .= "e50";
24 $a[0]--;
27 --$a[0];
33 $a[0]--;
38 --$a[0];
45 $a[0]++;
[all …]
/php-src/Zend/tests/
H A Dgc_008.phpt7 $a = new stdClass();
8 $a->a = new stdClass();
9 $a->a->a = $a->a;
10 var_dump($a->a);
12 unset($a);
18 ["a"]=>
H A Dbug74053.phpt10 class a {
21 new a;
24 a::destruct
26 a::destruct
28 a::destruct
30 a::destruct
32 a::destruct
34 a::destruct
36 a::destruct
38 a::destruct
[all …]
H A Dadd_001.phpt6 $a = array(1,2,3);
9 $c = $a + $b;
12 $a = array(1,2,3);
15 $c = $a + $b;
18 $a = array("a"=>"aaa",2,3);
21 $c = $a + $b;
24 $a += $b;
27 $a += $a;
50 ["a"]=>
58 ["a"]=>
[all …]
/php-src/ext/ctype/tests/
H A Dctype_upper_variation2.phpt25 character code 65 is a uppercase character
26 character code 66 is a uppercase character
27 character code 67 is a uppercase character
28 character code 68 is a uppercase character
29 character code 69 is a uppercase character
30 character code 70 is a uppercase character
31 character code 71 is a uppercase character
32 character code 72 is a uppercase character
33 character code 73 is a uppercase character
34 character code 74 is a uppercase character
[all …]
H A Dctype_lower_variation2.phpt26 character code 97 is a lower case character
27 character code 98 is a lower case character
28 character code 99 is a lower case character
29 character code 100 is a lower case character
30 character code 101 is a lower case character
31 character code 102 is a lower case character
32 character code 103 is a lower case character
33 character code 104 is a lower case character
34 character code 105 is a lower case character
35 character code 106 is a lower case character
[all …]
H A Dctype_xdigit_variation2.phpt26 character code 48 is a hexadecimal 'digit'
27 character code 49 is a hexadecimal 'digit'
28 character code 50 is a hexadecimal 'digit'
29 character code 51 is a hexadecimal 'digit'
30 character code 52 is a hexadecimal 'digit'
31 character code 53 is a hexadecimal 'digit'
32 character code 54 is a hexadecimal 'digit'
33 character code 55 is a hexadecimal 'digit'
34 character code 56 is a hexadecimal 'digit'
35 character code 57 is a hexadecimal 'digit'
[all …]
/php-src/ext/ffi/tests/
H A D022.phpt21 test_size(8, "struct {uint32_t a; uint32_t b;}");
22 test_size(3, "struct {char a; uint8_t b; uint8_t c;}");
23 test_size(8, "struct {char a; uint32_t b;}");
24 test_size(8, "struct {uint32_t a; char b;}");
28 test_size(16, "struct {uint32_t a; uint32_t b;}[2]");
30 test_size(16, "struct {char a; uint32_t b;}[2]");
31 test_size(16, "struct {uint32_t a; char b;}[2]");
35 test_align(4, "union {uint32_t a; uint32_t b;}");
36 test_align(1, "union {char a; uint8_t b; uint8_t c;}");
37 test_align(4, "union {char a; uint32_t b;}");
[all …]
/php-src/ext/dom/tests/modern/spec/
H A Dreconciliation_of_elements.phpt11 <a:root1 xmlns:a="urn:a">
12 <a:root2 xmlns:a="urn:b">
13 <a:child xmlns:b="urn:b">
15 </a:child>
16 </a:root2>
17 </a:root1>
22 $a_child = $dom->getElementsByTagName("a:child")[0];
40 <a:root1 xmlns:a="urn:a">
41 <a:root2 xmlns:a="urn:b">
43 </a:root2>
[all …]
/php-src/Zend/tests/numeric_strings/
H A Dneg_num_string.phpt6 $a = [
21 var_dump("$a[0]");
22 var_dump("$a[-0]");
23 var_dump("$a[1]");
24 var_dump("$a[-1]");
25 var_dump("$a[0x0]");
26 var_dump("$a[-0x0]");
27 var_dump("$a[00]");
28 var_dump("$a[-00]");
31 var_dump("$a[2147483648]");
[all …]
/php-src/ext/mbstring/tests/
H A Dbug66964.phpt7 $a[] = &$a;
8 var_dump(mb_convert_variables('utf-8', 'auto', $a));
9 var_dump(mb_convert_variables('utf-8', 'utf-8', $a));
11 unset($a);
12 $a[] = '日本語テキスト';
13 $a[] = '日本語テキスト';
14 $a[] = '日本語テキスト';
15 $a[] = '日本語テキスト';
16 var_dump(mb_convert_variables('utf-8', 'utf-8', $a), $a);
18 $a[] = &$a;
[all …]
/php-src/ext/standard/tests/general_functions/
H A Durl_rewriting_basic1.phpt12 <a href=""></a>
13 <a href="./foo.php"></a>
15 <a href="//php.net/foo.php"></a>
16 <a href="http://php.net/foo.php"></a>
17 <a href="bad://php.net/foo.php"></a>
18 <a href="//www.php.net/foo.php"></a>
25 <a href="//url-rewriter.com/foo.php"></a>
85 <a href="//php.net/foo.php"></a>
87 <a href="bad://php.net/foo.php"></a>
120 <a href="?PHPSESSID=testid"></a>
[all …]
H A Durl_rewriting_basic3.phpt12 <a href=""></a>
13 <a href="./foo.php"></a>
15 <a href="//php.net/foo.php"></a>
16 <a href="http://php.net/foo.php"></a>
17 <a href="bad://php.net/foo.php"></a>
18 <a href="//www.php.net/foo.php"></a>
86 <a href="?PHPSESSID=testid"></a>
89 <a href="//php.net/foo.php"></a>
127 <a href="//php.net/foo.php"></a>
162 <a href="?PHPSESSID=testid"></a>
[all …]
/php-src/ext/simplexml/tests/
H A Dbug45553.phpt8 <xml xmlns:a="http://a">
9 <data a:label="I am A" label="I am Nothing">test1</data>
10 <a:data a:label="I am a:A" label="I am a:Nothing">test2</a:data>
15 $x->registerXPathNamespace("a", "http://a");
17 $atts = $x->xpath("/xml/data/@a:label");
19 $atts = $x->xpath("/xml/a:data");
21 $atts = $x->xpath("/xml/a:data/@a:label");
23 $atts = $x->xpath("/xml/a:data/@label");
30 I am a:Nothing
31 I am a:A
[all …]
/php-src/ext/standard/
H A Dsha1.c130 #define FF(a, b, c, d, e, w) { \ argument
132 (e) += ROTATE_LEFT ((a), 5); \
135 #define GG(a, b, c, d, e, w) { \ argument
137 (e) += ROTATE_LEFT ((a), 5); \
140 #define HH(a, b, c, d, e, w) { \ argument
142 (e) += ROTATE_LEFT ((a), 5); \
145 #define II(a, b, c, d, e, w) { \ argument
147 (e) += ROTATE_LEFT ((a), 5); \
259 FF(a, b, c, d, e, x[0]); /* 1 */ in SHA1Transform()
260 FF(e, a, b, c, d, x[1]); /* 2 */ in SHA1Transform()
[all …]
/php-src/ext/opcache/tests/jit/
H A Dfetch_obj_001.phpt12 $a = 2;
24 foo($obj->a);
32 $a = &$obj->a;
46 $a = &$obj->a;
79 ["a"]=>
83 ["a"]=>
90 ["a"]=>
98 ["a"]=>
105 ["a"]=>
109 ["a"]=>
[all …]
/php-src/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-src/ext/pcre/tests/
H A Dbug47229.phpt9 preg_match('/[a\-c]+/', 'a---b', $m);
12 preg_match('/[a\-c]+/', 'a\-', $m);
15 preg_match("/a\-{2,}/", 'a----a', $m);
18 preg_match("/a\-{1,}/", 'a\----a', $m);
26 string(4) "a---"
30 string(1) "a"
34 string(5) "a----"
/php-src/Zend/tests/named_params/
H A Dbasic.phpt7 echo "a=$a, b=$b, c=$c, d=$d, e=$e\n";
11 echo "a=$a, b=$b, c=$c, d=$d, e=$e\n";
35 test(e: $e, a: $a, d: $d, b: $b, c: $c);
36 test(a: $a, b: $b, c: $c, e: $e);
41 test2(e: $e, a: $a, d: $d, b: $b, c: $c);
42 test2(a: $a, b: $b, c: $c, e: $e);
59 test3(e: $e, a: $a, d: $d, b: $b, c: $c);
60 test3(a: $a, b: $b, c: $c, e: $e);
63 echo "a=$a, b=$b, c=$c, d=$d, e=$e\n";
67 echo "a=$a, b=$b, c=$c, d=$d, e=$e\n";
[all …]
/php-src/tests/lang/
H A DreturnByReference.003.phpt2 Returning a reference from a function
18 unset($a, $b);
19 $a = 4;
21 $a++;
22 var_dump($a, $b);
25 unset($a, $b);
26 $a = 4;
28 $a++;
32 unset($a, $b);
33 $a = 4;
[all …]
H A DreturnByReference.004.phpt2 Returning a reference from a static method
20 unset($a, $b);
21 $a = 4;
23 $a++;
24 var_dump($a, $b);
27 unset($a, $b);
28 $a = 4;
30 $a++;
34 unset($a, $b);
35 $a = 4;
[all …]
H A DreturnByReference.005.phpt2 Returning a reference from a method
21 unset($a, $b);
22 $a = 4;
24 $a++;
25 var_dump($a, $b);
28 unset($a, $b);
29 $a = 4;
31 $a++;
35 unset($a, $b);
36 $a = 4;
[all …]
/php-src/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 …]

Completed in 30 milliseconds

12345678910>>...237