/PHP-5.3/ext/standard/tests/array/ |
H A D | arsort_object2.phpt | 55 1 => new for_integer_arsort(11, 33,2), 2 => new for_integer_asort(44, 66,3), 56 3 => new for_integer_arsort(23, 32,6), 4 => new for_integer_asort(-88, -5,-4), 61 "a" => new for_string_arsort("axx","AXX","d"), "b" => new for_string_asort("T", "t","q"), 62 "c" => new for_string_arsort("w", "W","c"), "d" => new for_string_asort("PY", "py","s"),
|
/PHP-5.3/ext/spl/tests/ |
H A D | arrayObject_magicMethods4.phpt | 35 $obj = new C; 36 $ao = new UsesMagic($obj); 39 $ao['dynamic'] = 'new'; 40 $ao['dynamic'] = 'new.changed'; 86 string(11) "new.changed" 103 string(11) "new.changed" 112 string(11) "new.changed" 124 string(11) "new.changed" 141 string(11) "new.changed" 160 string(11) "new.changed" [all …]
|
H A D | arrayObject_magicMethods6.phpt | 35 $obj = new C; 36 $ao = new UsesMagic($obj, ArrayObject::ARRAY_AS_PROPS); 39 $ao->dynamic = 'new'; 40 $ao->dynamic = 'new.changed'; 86 string(11) "new.changed" 103 string(11) "new.changed" 112 string(11) "new.changed" 124 string(11) "new.changed" 141 string(11) "new.changed" 160 string(11) "new.changed" [all …]
|
H A D | array_011.phpt | 7 //foreach (new ArrayIterator($a) as $k => $v) 8 foreach (new LimitIterator(new ArrayIterator($a), 1, 3) as $k => $v)
|
H A D | bug53071.phpt | 12 $myA = new myClass(); 13 $myB = new SplObjectStorage(); 14 $myC = new myClass();
|
H A D | iterator_040.phpt | 15 $it = new RecursiveArrayIterator($ar); 16 $it = new MyRecursiveFilterIterator($it); 17 $it = new RecursiveIteratorIterator($it);
|
H A D | iterator_071.phpt | 7 $arrOb = new ArrayObject($arr); 9 $recArrIt = new RecursiveArrayIterator($arrOb->getIterator()); 19 $recItIt = new MyRecursiveIteratorIterator($recArrIt, RecursiveIteratorIterator::CHILD_FIRST);
|
H A D | iterator_026.phpt | 8 $it = new RecursiveArrayIterator($ar); 9 $it = new RecursiveCachingIterator($it); 10 $it = new RecursiveIteratorIterator($it);
|
H A D | arrayObject_exchangeArray_basic2.phpt | 6 $ao = new ArrayObject(); 12 $obj = new stdClass; 19 $obj = new ArrayObject(array('key'=>'ArrayObject element')); 25 $obj = new ArrayIterator(array('key'=>'ArrayIterator element')); 31 $obj = new ArrayObject(new ArrayObject(array('key'=>'nested ArrayObject element')));
|
H A D | arrayObject___construct_basic6.phpt | 10 $ao = new ArrayObject(array(1,2,3)); 14 $ao = new ArrayObject(array(1,2,3), ArrayObject::STD_PROP_LIST); 18 $ao = new MyArrayObject(array(1,2,3)); 21 $ao = new MyArrayObject(array(1,2,3), ArrayObject::STD_PROP_LIST);
|
/PHP-5.3/ext/ereg/tests/ |
H A D | ereg_replace_variation_003.phpt | 20 $replacement = 'new value'; 64 new stdclass(), 93 string(9) "new value" 97 string(13) "new value2345" 105 string(12) "new value0.5" 109 string(13) "-new value0.5" 113 string(28) "new value0new value234567000" 117 string(29) "new value.0765432new valueE-9" 158 string(9) "new value" 166 string(9) "new value"
|
H A D | eregi_replace_variation_003.phpt | 20 $replacement = 'new value'; 64 new stdclass(), 93 string(9) "new value" 97 string(13) "new value2345" 105 string(12) "new value0.5" 109 string(13) "-new value0.5" 113 string(28) "new value0new value234567000" 117 string(29) "new value.0765432new valueE-9" 158 string(9) "new value" 166 string(9) "new value"
|
/PHP-5.3/ext/phar/phar/ |
H A D | directorygraphiterator.inc | 22 new RecursiveCachingIterator( 23 new ParentIterator( 24 new RecursiveDirectoryIterator($path, RecursiveDirectoryIterator::KEY_AS_FILENAME
|
/PHP-5.3/ext/spl/examples/ |
H A D | directorygraphiterator.inc | 22 new RecursiveCachingIterator( 23 new ParentIterator( 24 new RecursiveDirectoryIterator($path, RecursiveDirectoryIterator::KEY_AS_FILENAME
|
/PHP-5.3/ext/standard/tests/serialize/ |
H A D | bug28325.phpt | 14 $a = new a(); 15 $a->b = new b(); 16 $a->b->c = new c();
|
/PHP-5.3/Zend/tests/ |
H A D | bug55156.phpt | 10 $x = new \ReflectionFunction('foo\test'); 19 $x = new \ReflectionClass('foo\bar'); 22 $x = new \ReflectionClass('foo\foo');
|
H A D | clone_002.phpt | 6 $a = clone clone $b = new stdClass; 10 $c = clone clone clone $b = new stdClass; 15 $d = clone $a = $b = new foo;
|
H A D | bug45805.phpt | 11 throw new RuntimeException; 23 $obj = new A; 28 $m = new ReflectionMethod('B', 'foo'); 37 $o = new B;
|
/PHP-5.3/ext/date/tests/ |
H A D | bug45529.phpt | 6 $tz1 = new DateTimeZone('UTC'); 10 $d = new DateTime('2008-01-01 12:00:00+0200'); 13 $d = new DateTime('2008-01-01 12:00:00+0200');
|
/PHP-5.3/ext/reflection/tests/ |
H A D | ReflectionProperty_getValue_error.phpt | 17 $instance = new TestClass(); 18 $instanceWithNoProperties = new AnotherClass(); 19 $propInfo = new ReflectionProperty('TestClass', 'pub2'); 31 $propInfo = new ReflectionProperty('TestClass', 'stat'); 41 $propInfo = new ReflectionProperty('TestClass', 'prot'); 49 $propInfo = new ReflectionProperty('TestClass', 'pub2');
|
H A D | ReflectionClass_isInstance_basic.phpt | 15 $instances = array( "myA" => new A, 16 "myB" => new B, 17 "myC" => new C, 18 "myX" => new X ); 21 $rc = new ReflectionClass($class);
|
/PHP-5.3/ext/imap/tests/ |
H A D | imap_createmailbox_basic.phpt | 10 * Description: Creates a new mailbox specified by mailbox . 33 echo "Your new mailbox '$newname' has the following status:\n"; 41 echo "imap_status on new mailbox failed: " . imap_last_error() . "\n"; 47 echo "imap_deletemailbox on new mailbox failed: " . implode("\n", imap_errors()) . "\n"; 51 echo "could not create new mailbox: " . implode("\n", imap_errors()) . "\n"; 62 Your new mailbox 'phpnewbox' has the following status:
|
/PHP-5.3/ext/phar/tests/tar/ |
H A D | create_new_and_modify.phpt | 16 file_put_contents($pname . '/a.php', "brand new!\n"); 18 $phar = new Phar($fname); 27 $phar = new Phar($fname); 41 brand new!
|
/PHP-5.3/ext/phar/tests/zip/ |
H A D | create_new_and_modify.phpt | 16 file_put_contents($pname . '/a.php', "brand new!\n"); 18 $phar = new Phar($fname); 27 $phar = new Phar($fname); 41 brand new!
|
/PHP-5.3/ext/phar/tests/ |
H A D | pharfileinfo_construct.phpt | 14 $a = new PharFileInfo($pname . '/oops'); 20 $a = new PharFileInfo(array()); 22 $a = new Phar($fname); 27 $a = new PharFileInfo($pname . '/oops/I/do/not/exist'); 39 $a = new PharFileInfo(__FILE__);
|