Home
last modified time | relevance | path

Searched refs:a (Results 51 – 75 of 4946) sorted by relevance

12345678910>>...198

/PHP-5.3/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, b"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-5.3/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");
31 I am a:Nothing
32 I am a:A
[all …]
/PHP-5.3/ext/pcre/pcrelib/testdata/
H A Dtestoutput4825 a\x{256}a
1047 a\x{c0}a\x{c0}aaa/
1048 0: a\x{c0}a\x{c0}aa
1049 1: a\x{c0}a\x{c0}
1055 a\x{c0}a\x{c0}aaa/
1056 0: a\x{c0}a\x{c0}aaa
1057 1: a\x{c0}a\x{c0}a
1059 /^([a\x{c0}]*)a\x{c0}/8
1064 0: a\x{c0}a\x{c0}
1084 /a(*:a\x{1234}b)/8K
[all …]
H A Dtestinput8343 /^(a*\w|ab)=(a*\w|ab)/
752 /^[a-zA-Z\d][a-zA-Z\d\-]*(\.[a-zA-Z\d][a-zA-z\d\-]*)*\.$/
762 /^\*\.[a-z]([a-z\-\d]*[a-z\d]+)?(\.[a-z]([a-z\-\d]*[a-z\d]+)?)*$/
885 /^From +([^ ]+) +[a-zA-Z][a-zA-Z][a-zA-Z] +[a-zA-Z][a-zA-Z][a-zA-Z] +[0-9]?[0-9] +[0-9][0-9]:[0-9][…
2329 /a[^a]b/
2338 /a[^a]b/s
3694 /(?(?!a)a|b)/
3696 /(?(?!a)b|a)/
3699 /(?(?=a)b|a)/
3704 /(?(?=a)a|b)/
[all …]
/PHP-5.3/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-5.3/Zend/tests/
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 …]
H A Dbug35239.phpt5 $a = new stdClass;
6 $a->x0 = new stdClass;
7 $a->x0->y0 = 'a';
8 $a->x0->y1 =& $a->x0;
9 $a->x0->y2 =& $a->x0;
10 $a->x0->y0 = 'b';
11 var_dump($a);
12 $a->x0->y1 = "ok\n";
13 echo $a->x0;
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 …]
/PHP-5.3/ext/phar/tests/cache_list/files/
H A Dfrontcontroller3.phar.inc3 $a = new Phar(dirname(__FILE__) . '/frontcontroller3.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)
10 static $b = array(b"/hi" => "a.phps");
11 if (isset($b[$a])) return $b[$a];
12 return $a;
/PHP-5.3/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|unicode%(4) "a---"
30 %string|unicode%(1) "a"
34 %string|unicode%(5) "a----"
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-5.3/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-5.3/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-5.3/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 …]
H A Dserialization_arrays_003.phpt35 $a[1] = 1;
36 $a[2] = 1;
37 check($a);
42 $a[0] = 1;
44 $a[2] = 1;
45 check($a);
50 $a[0] = 1;
51 $a[1] = 1;
53 check($a);
60 $a[2] = 1;
[all …]
/PHP-5.3/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 Dfixedarray_002.phpt30 $a = new A;
48 $a->setSize(10);
51 $a[0] = "value0";
52 $a[1] = "value1";
53 $a[2] = "value2";
54 $a[3] = "value3";
57 $a[4] = $ref;
60 unset($a[1]);
61 var_dump(isset($a[1]), isset($a[2]), empty($a[1]), empty($a[2]));
63 var_dump($a[0], $a[2], $a[3], $a[4]);
[all …]
/PHP-5.3/ext/phar/tests/files/
H A Dfrontcontroller3.phar.inc3 $a = new Phar(dirname(__FILE__) . '/frontcontroller3.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)
10 static $b = array(b"/hi" => b"a.phps");
11 if (isset($b[$a])) return $b[$a];
12 return $a;
/PHP-5.3/ext/phar/tests/tar/files/
H A Dfrontcontroller3.phar.inc3 $a = new Phar(dirname(__FILE__) . '/frontcontroller3.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)
10 static $b = array(b"/hi" => b"a.phps");
11 if (isset($b[$a])) return $b[$a];
12 return $a;
/PHP-5.3/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(b"/hi" => b"a.phps");
11 if (isset($b[$a])) return $b[$a];
12 return $a;
/PHP-5.3/ext/mbstring/tests/
H A Dbug26639.phpt8 $b = $a;
12 unset($a);
16 $b = &$a;
20 unset($a);
24 $b = array($a);
29 unset($a);
39 unset($a);
49 unset($a);
59 unset($a);
64 $b = $a;
[all …]
/PHP-5.3/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 …]
H A D019.phpt17 hey, this is a regular echo'd eval()
18 hey, this is a function inside an eval()!
19 hey, this is a regular echo'd eval()
21 hey, this is a regular echo'd eval()
23 hey, this is a regular echo'd eval()
25 hey, this is a regular echo'd eval()
27 hey, this is a regular echo'd eval()
29 hey, this is a regular echo'd eval()
31 hey, this is a regular echo'd eval()
33 hey, this is a regular echo'd eval()
[all …]
/PHP-5.3/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 …]
H A Dctype_lower_variation2.phpt32 character code 97 is a lower case character
33 character code 98 is a lower case character
34 character code 99 is a lower case character
35 character code 100 is a lower case character
36 character code 101 is a lower case character
37 character code 102 is a lower case character
38 character code 103 is a lower case character
39 character code 104 is a lower case character
40 character code 105 is a lower case character
41 character code 106 is a lower case character
[all …]

Completed in 47 milliseconds

12345678910>>...198