/PHP-5.5/ext/spl/tests/ |
H A D | bug41691.phpt | 10 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 D | bug30394.phpt | 21 $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 D | each_003.phpt | 6 $a = array(array()); 7 $a[] =& $a; 9 var_dump(each($a[1]));
|
H A D | bug29944.phpt | 5 $a = 1; 6 switch ($a) { 8 function foo($a) { 11 echo foo($a);
|
H A D | closure_034.phpt | 6 $a = function () use(&$a) {}; 7 var_dump($a); 15 ["a"]=>
|
H A D | gc_025.phpt | 7 $a = array(array()); 8 $a[0][0] =& $a[0]; 9 unset($a);
|
H A D | foreach_list_002.phpt | 6 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 D | incdec_property_001.phpt | 10 if ($property == "a") { 16 if ($property == "a") { 23 var_dump($obj->a); 24 $obj->a++; 25 var_dump($obj->a);
|
H A D | incdec_property_003.phpt | 10 if ($property == "a") { 16 if ($property == "a") { 23 var_dump($obj->a); 24 ++$obj->a; 25 var_dump($obj->a);
|
H A D | incdec_property_002.phpt | 10 if ($property == "a") { 16 if ($property == "a") { 23 var_dump($obj->a); 24 $t1 = $obj->a++; 25 var_dump($obj->a);
|
H A D | incdec_property_004.phpt | 10 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 D | var_export_error3.phpt | 6 * 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 D | file_get_contents.phpt | 11 $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 D | readfile.phpt | 11 $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 D | delete_in_phar_b.phpt | 2 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 D | phar_oo_008.phpt | 18 $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 D | html_entity_decode1.phpt | 21 "&a&", 22 "&a$", 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 D | prev_variation2.phpt | 12 * 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 D | compact_basic.phpt | 6 * 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 D | dir_variation5.phpt | 2 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 D | sqlite3_25_create_aggregate.phpt | 25 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 D | delete_in_phar_b.phpt | 2 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 D | delete_in_phar_b.phpt | 2 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 D | inigroups.inc | 20 * 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 D | static_basic_001.phpt | 9 $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++;
|