Home
last modified time | relevance | path

Searched refs:a (Results 576 – 600 of 6311) sorted by relevance

1...<<21222324252627282930>>...253

/PHP-5.5/ext/spl/tests/
H A Dbug41691.phpt10 public $a;
15 $a = new A(null, ArrayObject::ARRAY_AS_PROPS );
16 var_dump($a->exchangeArray(array('a'=>1,'b'=>1,'c'=>1)));
22 ["a"]=>
/PHP-5.5/Zend/tests/
H A Dbug30394.phpt21 $c->a = 1;
22 $c->a += 1;
23 print $c->a; // --> 2
26 $c->a += max( 0, 1 );
27 print $c->a; // --> 4 (!)
H A Deach_003.phpt6 $a = array(array());
7 $a[] =& $a;
9 var_dump(each($a[1]));
H A Dbug29944.phpt5 $a = 1;
6 switch ($a) {
8 function foo($a) {
11 echo foo($a);
H A Dclosure_034.phpt6 $a = function () use(&$a) {};
7 var_dump($a);
15 ["a"]=>
H A Dgc_025.phpt7 $a = array(array());
8 $a[0][0] =& $a[0];
9 unset($a);
H A Dforeach_list_002.phpt6 foreach (array(array(1,2), array(3,4)) as list($a, )) {
7 var_dump($a);
10 $array = [['a', 'b'], 'c', 'd'];
12 foreach($array as list(list(), $a)) {
13 var_dump($a);
/PHP-5.5/tests/classes/
H A Dincdec_property_001.phpt10 if ($property == "a") {
16 if ($property == "a") {
23 var_dump($obj->a);
24 $obj->a++;
25 var_dump($obj->a);
H A Dincdec_property_003.phpt10 if ($property == "a") {
16 if ($property == "a") {
23 var_dump($obj->a);
24 ++$obj->a;
25 var_dump($obj->a);
H A Dincdec_property_002.phpt10 if ($property == "a") {
16 if ($property == "a") {
23 var_dump($obj->a);
24 $t1 = $obj->a++;
25 var_dump($obj->a);
H A Dincdec_property_004.phpt10 if ($property == "a") {
16 if ($property == "a") {
23 var_dump($obj->a);
24 $t1 = ++$obj->a;
25 var_dump($obj->a);
/PHP-5.5/ext/standard/tests/general_functions/
H A Dvar_export_error3.phpt6 * Description: Outputs or returns a string representation of a variable
11 $a[] =& $a;
12 var_export($a, true);
/PHP-5.5/ext/phar/tests/
H A Dfile_get_contents.phpt11 $a = new Phar($fname);
12 $a['index.php'] = '<?php
16 $a['dir/file1.txt'] = 'hi';
17 $a['dir/file2.txt'] = 'hi2';
18 $a['dir/file3.txt'] = 'hi3';
19 $a->setStub('<?php
H A Dreadfile.phpt11 $a = new Phar($fname);
12 $a['index.php'] = '<?php
16 $a['dir/file1.txt'] = 'hi';
17 $a['dir/file2.txt'] = 'hi2';
18 $a['dir/file3.txt'] = 'hi3';
19 $a->setStub('<?php
H A Ddelete_in_phar_b.phpt2 Phar: delete a file within a .phar
15 $files['a.php'] = '<?php echo "This is a\n"; ?>';
20 include $pname . '/a.php';
27 include $pname . '/a.php';
36 This is a
42 This is a
H A Dphar_oo_008.phpt18 $f = $phar['a.csv'];
42 $v = $phar['a.csv'];
74 $v = $phar['a.csv'];
93 1=>2,a,b
98 1=>2,a,b
102 0=>2|a|b
106 1=>2|a|b
110 1=>2|a|b
116 3=>2|a|b
/PHP-5.5/ext/standard/tests/strings/
H A Dhtml_entity_decode1.phpt21 "&a&amp;",
22 "&a&#x24;",
34 if (($a = html_entity_decode($ent, ENT_QUOTES, 'UTF-8')) !=
37 "$b <-> $a","\n";
59 &a&
60 &a$
/PHP-5.5/ext/standard/tests/array/
H A Dprev_variation2.phpt12 * 1. a two-dimensional array
13 * 2. a sub-array
22 $array_arg = array ($subarray, 'a' => 'z');
25 echo "\n-- Pass a two-dimensional array as \$array_arg --\n";
29 echo "\n-- Pass a sub-array as \$array_arg --\n";
36 -- Pass a two-dimensional array as $array_arg --
47 -- Pass a sub-array as $array_arg --
H A Dcompact_basic.phpt6 * Description: Creates a hash containing variables and their values
17 $a=1;
25 var_dump (compact(array("a", "b", "c", "d", "e", "f")));
27 var_dump (compact("a", "b", "c", "d", "e", "f"));
28 var_dump (compact(array("keyval"=>"a", "b"=>"b", "c"=>1)));
40 ["a"]=>
57 ["a"]=>
74 ["a"]=>
/PHP-5.5/ext/standard/tests/dir/
H A Ddir_variation5.phpt2 Test dir() function : usage variations - open a file instead of directory
18 * Passing a file as argument to dir() function instead of a directory
22 echo "*** Testing dir() : open a file instead of a directory ***\n";
31 *** Testing dir() : open a file instead of a directory ***
/PHP-5.5/ext/sqlite3/tests/
H A Dsqlite3_25_create_aggregate.phpt25 var_dump($db->exec('CREATE TABLE test (a INTEGER, b INTEGER)'));
28 var_dump($db->exec("INSERT INTO test (a, b) VALUES (1, -1)"));
29 var_dump($db->exec("INSERT INTO test (a, b) VALUES (2, -2)"));
30 var_dump($db->exec("INSERT INTO test (a, b) VALUES (3, -3)"));
31 var_dump($db->exec("INSERT INTO test (a, b) VALUES (4, -4)"));
32 var_dump($db->exec("INSERT INTO test (a, b) VALUES (4, -4)"));
36 print_r($db->querySingle("SELECT S(a), S(b) FROM test", true));
53 [S(a)] => 1,3,6,10,14
/PHP-5.5/ext/phar/tests/tar/
H A Ddelete_in_phar_b.phpt2 Phar: delete a file within a tar-based .phar
15 $phar['a.php'] = '<?php echo "This is a\n"; ?>';
22 include $alias . '/a.php';
30 include $alias . '/a.php';
39 This is a
45 This is a
/PHP-5.5/ext/phar/tests/zip/
H A Ddelete_in_phar_b.phpt2 Phar: delete a file within a zip-based .phar
15 $phar['a.php'] = '<?php echo "This is a\n"; ?>';
22 include $alias . '/a.php';
29 include $alias . '/a.php';
38 This is a
44 This is a
/PHP-5.5/ext/spl/examples/
H A Dinigroups.inc20 * Using this class you can iterator over all groups of a ini file.
22 * This class uses a 'is-a' relation to KeyFilter in contrast to a 'has-a'
24 * If it would use a 'has-a' relation there would be much more to type...
31 * Construct an ini file group iterator from a filename.
/PHP-5.5/tests/lang/
H A Dstatic_basic_001.phpt9 $a=0;
10 echo "$a\n";
11 static $a=10;
12 echo "$a\n";
13 $a++;
23 static $a, $b=10, $c=20, $d, $e=30;
24 echo "Unitialised : $a\n";
29 $a++;

Completed in 39 milliseconds

1...<<21222324252627282930>>...253