/PHP-5.5/Zend/tests/ |
H A D | class_alias_009.phpt | 6 interface a { } 8 class_alias('a', 'b'); 10 interface c extends a, b { } 14 Fatal error: Class c cannot implement previously implemented interface a in %s on line %d
|
H A D | gc_024.phpt | 9 $a = new ArrayObject(); 10 $a[0] = $a; 11 unset($a);
|
H A D | access_modifiers_011.phpt | 28 $a = new A(); 29 echo $a->var1,"\n"; 30 echo $a->var2,"\n"; 31 echo $a->func1(),"\n"; 32 echo $a->func2(),"\n";
|
/PHP-5.5/ext/mbstring/tests/ |
H A D | mb_ereg_replace-compat-11.phpt | 11 $a="a\\2bxc"; 12 echo mb_ereg_replace("a(.*)b(.*)c","\\1",$a);
|
/PHP-5.5/ext/ereg/tests/ |
H A D | 006.phpt | 4 <?php $a="This is a nice and simple string"; 5 echo ereg_replace("^This","That",$a); 9 That is a nice and simple string
|
/PHP-5.5/ext/standard/tests/array/ |
H A D | bug44181.phpt | 5 $a = array('foo' => 'original.foo'); 8 $ref = &$a; 10 extract($a, EXTR_OVERWRITE|EXTR_REFS); 13 var_dump($a['foo']);
|
/PHP-5.5/ext/spl/tests/ |
H A D | spl_autoload_bug48541.phpt | 14 $a = function ($class) { 15 echo "a called\n"; 23 spl_autoload_register($a); 27 $c = $a; 35 a called
|
H A D | array_022.phpt | 16 $a = new MyArrayObject; 18 $b = clone $a; 21 var_dump($a); 37 $a = new MyArrayIterator; 39 $b = clone $a; 42 var_dump($a);
|
/PHP-5.5/ext/standard/tests/serialize/ |
H A D | 002.phpt | 10 var_dump(unserialize('a:1:{i:0;s:2:"12";}')); 11 var_dump(unserialize('a:2:{i:0;a:0:{}i:1;a:0:{}}')); 12 var_dump(unserialize('a:3:{i:0;s:3:"foo";i:1;s:3:"bar";i:2;s:3:"baz";}'));
|
/PHP-5.5/ext/phar/tests/ |
H A D | 015.phpt | 15 $files['a'] = array('cont'=>'a','comp'=>chr(75) . chr(4) . chr(0) /* 'a' gzdeflated */, 'flags'=>0x… 18 echo file_get_contents($pname .'/a'); 23 a
|
/PHP-5.5/ext/phar/tests/cache_list/files/ |
H A D | frontcontroller19.phar.inc | 3 $a = new Phar(dirname(__FILE__) . '/frontcontroller19.phar'); 4 $a['start/index.php'] = '<?php 8 $a['start/another.php'] = '<?php 12 $a['another.php'] = '<?php 15 $a->setStub('<?php
|
/PHP-5.5/ext/phar/tests/files/ |
H A D | frontcontroller19.phar.inc | 3 $a = new Phar(dirname(__FILE__) . '/frontcontroller19.phar'); 4 $a['start/index.php'] = '<?php 8 $a['start/another.php'] = '<?php 12 $a['another.php'] = '<?php 15 $a->setStub('<?php
|
/PHP-5.5/tests/lang/ |
H A D | returnByReference.009.phpt | 2 Returning a references returned by another function 24 echo "\n---> 1. Return a variable by reference -> No warning:\n"; 28 echo "\n---> 2. Return a value by reference -> Warning:\n"; 33 ---> 1. Return a variable by reference -> No warning: 36 ---> 2. Return a value by reference -> Warning:
|
H A D | foreachLoopObjects.001.phpt | 7 public $a = "Original a"; 41 string(10) "Original a" 44 string(1) "a" 45 string(10) "Original a" 57 string(10) "Original a" 60 string(1) "a" 61 string(10) "Original a"
|
H A D | bug20175.phpt | 12 * Storing the result of a function in a static variable. 36 * Storing a reference to the result of a function in a static variable. 38 * The return statment transports a copy of the value to return. In other 39 * words the return value of bar_global() is a temporary variable only valid 61 * Storing a reference to the result of a function in a static variable. 62 * Same as Part 2 but wow_global() returns a reference so $wow_value 63 * should store a reference to $wow_global. Therefor $wow_value is already 87 * Storing a reference to a new instance (that's where the name of the test 91 * The class oop_test uses a static reference to a oop_class instance.
|
/PHP-5.5/ext/pcre/tests/ |
H A D | grep2.phpt | 10 $array = array(5=>'a', 'x' => '1', 'xyz'=>'q6', 'h20'); 12 var_dump(preg_grep('@^[a-z]+@', $array)); 13 var_dump(preg_grep('@^[a-z]+@', $array, PREG_GREP_INVERT)); 17 var_dump(preg_grep('@^[a-z]+@', $array)); 32 string(1) "a" 45 string(1) "a"
|
H A D | preg_match_all_edit_basic.phpt | 6 * Description: Perform a Perl-style global regular expression match 11 $string = 'Hello, world! This is a test. This is another test. \[4]. 34534 string.'; 16 var_dump(preg_match_all('/[tT]his is a(.*?)\./', $string, $match2, PREG_SET_ORDER)); //fin… 22 …/\d{2}$/', $string, $match4)); //tries to find 2 digits at the end of a string (0 matches) 25 var_dump(preg_match_all('/(This is a ){2}(.*)\stest/', $string, $match5)); //tries to find "T… 47 string(15) "This is a test."
|
/PHP-5.5/ext/reflection/tests/ |
H A D | ReflectionObject_getConstants_basic.phpt | 6 const a = 'hello from C'; 13 const a = 'hello from F'; 29 ["a"]=> 34 ["a"]=> 39 ["a"]=> 44 ["a"]=>
|
/PHP-5.5/ext/tidy/tests/ |
H A D | 007.phpt | 9 $a = new tidy(dirname(__FILE__)."/007.html"); 11 var_dump($a->getopt("tidy-mark")); 13 var_dump($a->getopt("error-file")); 15 var_dump($a->getopt("tab-size")); 17 var_dump($a->getopt('bogus-opt')); 18 var_dump(tidy_getopt($a, 'non-ASCII string ���'));
|
/PHP-5.5/ext/standard/tests/file/ |
H A D | symlink_link_linkinfo_is_link_variation2.phpt | 12 Description: creates a symbolic link to the existing target with the specified name link 15 Description: Tells whether the given file is a symbolic link. 18 Description: Create a hard link 21 Description: Gets information about a link 32 echo "*** Creating a hard link to a non-existent file ***\n"; 43 *** Creating a hard link to a non-existent file ***
|
/PHP-5.5/Zend/ |
H A D | zend_ptr_stack.h | 58 static zend_always_inline void zend_ptr_stack_3_push(zend_ptr_stack *stack, void *a, void *b, void … 65 *(stack->top_element++) = a; 72 static zend_always_inline void zend_ptr_stack_2_push(zend_ptr_stack *stack, void *a, void *b) in zend_ptr_stack_2_push() argument 79 *(stack->top_element++) = a; in zend_ptr_stack_2_push() 85 static zend_always_inline void zend_ptr_stack_3_pop(zend_ptr_stack *stack, void **a, void **b, void… in zend_ptr_stack_3_pop() argument 87 *a = *(--stack->top_element); in zend_ptr_stack_3_pop() 93 static zend_always_inline void zend_ptr_stack_2_pop(zend_ptr_stack *stack, void **a, void **b) in zend_ptr_stack_2_pop() argument 95 *a = *(--stack->top_element); in zend_ptr_stack_2_pop()
|
/PHP-5.5/ext/standard/tests/strings/ |
H A D | str_replace_variation3.phpt | 18 var_dump( str_replace(array("a", "a", "b"), 24 var_dump( str_replace(array("a", "a", "b"), 67 var_dump(str_replace(array("a", "a", "b"), "multi", "aaa", $count)); 70 var_dump(str_replace( array("a", "a", "b"), 77 var_dump(str_replace( array("a", "a", "b"), 85 var_dump(str_replace("a", array("q", "q", "c"), array("aaa"), $count)); 88 var_dump(str_replace("a", 1, array("aaa", "bbb"), $count)); 104 echo "\n-- Testing a longer and heredoc string --\n"; 120 echo "\n-- Testing a heredoc null string --\n"; 203 -- Testing a longer and heredoc string -- [all …]
|
/PHP-5.5/ext/pcre/pcrelib/ |
H A D | HACKING | 59 for a 16-bit data quantity, and the word "unit" is used for a quantity that is 60 a byte in 8-bit mode, a short in 16-bit mode and a 32-bit word in 32-bit mode. 69 pass to calculate a maximum store size, and then a second pass to do the real 94 is doing a full analysis of the pattern. My hope was that this would not be a 147 The compiled form of a pattern is a vector of unsigned units (bytes in 8-bit 263 matches from 0 to the given number. A repeat with a non-zero minimum and a 316 something like [^a]). 323 less than 256, OP_CLASS is used for a positive class, and OP_NCLASS for a 335 are less than 256, followed by a list of pairs (for a range) and single 339 this is a negative class, and XCL_MAP indicates that a bit map is present. [all …]
|
/PHP-5.5/ext/pcre/pcrelib/testdata/ |
H A D | testoutput11-16 | 71 /a#/IxMD 75 2 a 131 9 a+ 172 5 a 185 5 a 199 2 a 213 /(?:a(?P<c>c(?P<d>d)))(?P<a>a)/BM 218 4 a 233 /(?P<a>a)...(?P=a)bbb(?P>a)d/BM 571 /[a]/BM [all …]
|
H A D | testoutput11-32 | 71 /a#/IxMD 75 2 a 131 9 a+ 172 5 a 185 5 a 199 2 a 213 /(?:a(?P<c>c(?P<d>d)))(?P<a>a)/BM 218 4 a 233 /(?P<a>a)...(?P=a)bbb(?P>a)d/BM 571 /[a]/BM [all …]
|