Home
last modified time | relevance | path

Searched refs:a (Results 251 – 275 of 6340) sorted by relevance

1...<<11121314151617181920>>...254

/PHP-7.2/ext/phar/tests/zip/files/
H A Dcorrupt_count1.php.inc3 $a = new corrupt_zipmaker;
4 $a->addFile('hi', null, 'hii');
5 $a->addFile('hi2', null, 'hii2');
6 $a->writeZip(dirname(__FILE__) . '/count1.zip', 'count1');
7 $a->writeZip(dirname(__FILE__) . '/count2.zip', 'count2');
8 $a->writeZip(dirname(__FILE__) . '/nozipend.zip', 'none');
9 $a->writeZip(dirname(__FILE__) . '/filecomment.zip', 'comment');
10 $a->writeZip(dirname(__FILE__) . '/cdir_offset.zip', 'cdir_offset');
/PHP-7.2/ext/standard/tests/strings/
H A Dbug51899.phpt6 var_dump(parse_ini_string('a='));
7 var_dump(parse_ini_string('a= '));
8 var_dump(parse_ini_string('a='.PHP_EOL));
9 var_dump(parse_ini_string('a=b '));
17 ["a"]=>
21 ["a"]=>
25 ["a"]=>
29 ["a"]=>
/PHP-7.2/ext/standard/tests/file/
H A Dfscanf_variation26.phpt8 Description: Parses input from a file according to a format
17 // create a file
24 $char_types = array( 'a', "a", 67, -67, 99 );
74 string(1) "a"
78 string(1) "a"
97 string(1) "a"
101 string(1) "a"
120 string(1) "a"
124 string(1) "a"
143 string(1) "a"
[all …]
H A Dfgetcsv_variation12.phpt33 "a+", "a+b", "a+t");
53 // write another line of text and a blank line
55 // working when only a blank line is read
166 -- Testing fgetcsv() with file opened using a+ mode --
178 -- Testing fgetcsv() with file opened using a+b mode --
190 -- Testing fgetcsv() with file opened using a+t mode --
274 -- Testing fgetcsv() with file opened using a+ mode --
286 -- Testing fgetcsv() with file opened using a+b mode --
298 -- Testing fgetcsv() with file opened using a+t mode --
382 -- Testing fgetcsv() with file opened using a+ mode --
[all …]
/PHP-7.2/ext/phar/tests/cache_list/files/
H A Dfrontcontroller4.phar2 function s($a)
5 if (isset($b[$a])) return $b[$a];
6 return $a;
12 …�����������a.php����WX�����ж���������a.jpg����WX�����ж���������a.phps����WX���l�`�…
/PHP-7.2/ext/standard/tests/array/
H A Darray_unshift.phpt6 $a = array();
8 var_dump(array_unshift($a, $s));
9 var_dump($a);
10 var_dump(array_unshift($s, $a));
11 var_dump($a);
12 var_dump(array_unshift($a, $a));
13 var_dump($a);
H A Dbug28974.phpt5 $a = $b = $c = array(0,1,2,3,4,5);
6 print_r($a);
8 print_r(array_slice($a,2,2147483645));
11 print_r(array_slice($a,2,2147483646));
12 echo 'print_r(array_splice($a,2,1));'."\n";
13 print_r(array_splice($a,2,1));
14 echo "\$a is :";
15 print_r($a);
51 print_r(array_splice($a,2,1));
56 $a is :Array
/PHP-7.2/ext/pcre/tests/
H A Dbug42945.phpt6 var_dump(preg_match_all('/\b/', "a'", $m, PREG_OFFSET_CAPTURE));
9 var_dump(preg_split('/\b/', "a'"));
10 var_dump(preg_split('/\b/', "a'", -1, PREG_SPLIT_OFFSET_CAPTURE));
11 var_dump(preg_split('/\b/', "a'", -1, PREG_SPLIT_NO_EMPTY));
12 var_dump(preg_split('/\b/', "a'", -1, PREG_SPLIT_NO_EMPTY|PREG_SPLIT_OFFSET_CAPTURE));
40 string(1) "a"
55 string(1) "a"
69 string(1) "a"
77 string(1) "a"
/PHP-7.2/ext/pdo_mysql/tests/
H A Dbug70272.phpt13 $a = new Stdclass();
14 $a->a = &$a;
22 $a->c = $db;
23 $a->b = $db->prepare("select 1");
24 $a->d = $db->prepare("select 2");
25 $a->e = $db->prepare("select 3");
26 $a->f = $db->prepare("select 4");
/PHP-7.2/Zend/tests/
H A Dbug30889.phpt10 $this->values = array('a' => 0);
24 $test->a++; // __get(), then __set()
25 ++$test->a;
28 get a (returns 0)
29 set a = 1 (a was 0)
30 get a (returns 1)
31 set a = 2 (a was 1)
H A Dclosure_020.phpt10 $a = &$this;
11 $this->a = function() use (&$a) { return $a; };
12 var_dump($this->a->__invoke());
13 var_dump(is_a($this->a, 'closure'));
14 var_dump(is_callable($this->a));
16 return $this->a;
29 ["a"]=>
33 ["a"]=>
H A Dbug54262.phpt2 Bug #54262 (Crash when assigning value to a dimension in a non-array)
5 $a = '0';
6 var_dump(isset($a['b']));
7 $simpleString = preg_match('//', '', $a->a);
14 Warning: Attempt to modify property 'a' of non-object in %sbug54262.php on line 4
16 Warning: Cannot use a scalar value as an array in %sbug54262.php on line 5
H A Dbug70805_2.phpt15 if (isset($GLOBALS["a"])) {
16 unset($GLOBALS["a"]);
21 $a = new A;
22 $a->b = new B;
23 $a->b->a = $a;
36 unset($a);
H A Dbug39449.phpt15 $a =new A();
16 $a->arr = array('a','b','c');
18 $b = &$a->arr;
21 foreach ($a->arr as $k => $v) {
25 $a->arr[]='d';
27 foreach ($a->arr as $k => $v) {
32 0 => a
36 0 => a
H A Dproperty_exists.phpt8 $a = new A;
9 var_dump(property_exists($a, "prot"));
10 var_dump(property_exists($a, "prot2"));
11 var_dump(property_exists($a, "prot3"));
19 $a = new A;
20 var_dump(property_exists($a, "prot"));
21 var_dump(property_exists($a, "prot2"));
22 var_dump(property_exists($a, "prot3"));
38 $a = new a;
39 $a->nonstaticTest();
/PHP-7.2/ext/phar/tests/
H A Dmkdir.phpt14 $a = new Phar($fname);
15 $a['a'] = 'hi';
16 mkdir($pname . '/a');
19 rmdir($pname . '/a');
20 $a->addEmptyDir('bb');
21 $a->addEmptyDir('bb');
23 $a->addEmptyDir('.phar');
39 …): phar error: cannot create directory "a" in phar "%smkdir.phar.php", phar error: path "a" exists…
45 …): phar error: cannot remove directory "a" in phar "%smkdir.phar.php", phar error: path "a" exists…
46 Cannot create a directory in magic ".phar" directory
H A Dbadparameters.phpt20 $a = new Phar(array());
43 $a->delete('oops');
54 $a->setAlias('oops');
72 $a->setStub('oops');
82 $a->setStub(array());
102 $a->compress(1);
112 $a->copy(array());
114 $a->copy('a', 'b');
125 $a->offsetUnset('a');
133 $a->setMetadata('a');
[all …]
/PHP-7.2/ext/simplexml/tests/
H A Dbug66084_1.phpt8 echo json_encode(simplexml_load_string('<a><b/><c><x/></c></a>')->c), "\n";
9 echo json_encode(simplexml_load_string('<a><b/><c><x/></c></a>')), "\n";
10 echo json_encode(simplexml_load_string('<a><b/><d/><c><x/></c></a>')), "\n";
11 echo json_encode(simplexml_load_string('<a><b/><c><d/><x/></c></a>')), "\n";
12 echo json_encode(simplexml_load_string('<a><b/><c><d><x/></d></c></a>')), "\n";
/PHP-7.2/ext/reflection/tests/
H A Dbug49719.phpt2 Bug #49719 (ReflectionClass::hasProperty returns true for a private property in base class)
7 private $a;
17 var_dump(property_exists('b', 'a'));
18 var_dump(property_exists($b, 'a'));
19 var_dump($ref->hasProperty('a'));
20 var_dump($ref->getProperty('a'));
26 private $a = 1;
30 private $a = 2;
34 $prop = $b2->getProperty('a');
43 %string|unicode%(25) "Property a does not exist"
/PHP-7.2/Zend/
H A Dzend_multiply.h32 (dval) = (double) (a) * (double) (b); \
42 (dval) = (double) (a) * (double) (b); \
54 : "0"(a), "r"(b), "1"(0)); \
66 : "r"(a), "r"(b)); \
79 : "r"(a), "r"(b)); \
90 __int64 __low = _mul128((a), (b), &__high); \
96 (dval) = (double)(a) * (double)(b); \
101 zend_long __lres = (a) * (b); \
119 : "r"(a), "r"(b)); \
121 (dval) = (double) (a) * (double) (b); \
[all …]
/PHP-7.2/tests/lang/
H A D007.phpt6 $a = 10;
10 static $a=1;
14 echo "$a $b ";
15 $a++;
17 echo "$a $c ";
21 echo "$a $b $c ";
23 echo "$a $b $c ";
/PHP-7.2/ext/phar/tests/files/
H A Dfrontcontroller3.phar2 function s($a)
4 static $b = array("/hi" => "a.phps");
5 if (isset($b[$a])) return $b[$a];
6 return $a;
12 v���������������������a.php���&XX�����ж���������a.jpg���&XX�����ж���������a.phps���&…
/PHP-7.2/ext/standard/tests/general_functions/
H A Dphpcredits.phpt20 %a
23 %a
26 %a
29 %a
32 %a
35 %a
38 %a
41 %a
53 %a
/PHP-7.2/ext/intl/tests/
H A Dcollator_asort.phpt63 array( 'a' => 'a' ,
67 array( 'a' => 'a' ,
68 'aaa'=> 'a' ,
127 'a' => 'k' )
142 'a' => 'k',
149 'a' => 'a',
157 'a' => 'a',
158 'aaa' => 'a',
159 'aa' => 'a',
207 3 => ' a',
[all …]
H A Dcollator_asort_variant2.phpt63 array( 'a' => 'a' ,
67 array( 'a' => 'a' ,
68 'aaa'=> 'a' ,
127 'a' => 'k' )
142 'a' => 'k',
149 'a' => 'a',
157 'a' => 'a',
158 'aaa' => 'a',
159 'aa' => 'a',
207 3 => ' a',
[all …]

Completed in 38 milliseconds

1...<<11121314151617181920>>...254