Home
last modified time | relevance | path

Searched refs:new (Results 251 – 275 of 4295) sorted by relevance

1...<<11121314151617181920>>...172

/PHP-5.3/ext/standard/tests/array/
H A Darsort_object2.phpt55 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 DarrayObject_magicMethods4.phpt35 $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 DarrayObject_magicMethods6.phpt35 $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 Darray_011.phpt7 //foreach (new ArrayIterator($a) as $k => $v)
8 foreach (new LimitIterator(new ArrayIterator($a), 1, 3) as $k => $v)
H A Dbug53071.phpt12 $myA = new myClass();
13 $myB = new SplObjectStorage();
14 $myC = new myClass();
H A Diterator_040.phpt15 $it = new RecursiveArrayIterator($ar);
16 $it = new MyRecursiveFilterIterator($it);
17 $it = new RecursiveIteratorIterator($it);
H A Diterator_071.phpt7 $arrOb = new ArrayObject($arr);
9 $recArrIt = new RecursiveArrayIterator($arrOb->getIterator());
19 $recItIt = new MyRecursiveIteratorIterator($recArrIt, RecursiveIteratorIterator::CHILD_FIRST);
H A Diterator_026.phpt8 $it = new RecursiveArrayIterator($ar);
9 $it = new RecursiveCachingIterator($it);
10 $it = new RecursiveIteratorIterator($it);
H A DarrayObject_exchangeArray_basic2.phpt6 $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 DarrayObject___construct_basic6.phpt10 $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 Dereg_replace_variation_003.phpt20 $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 Deregi_replace_variation_003.phpt20 $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 Ddirectorygraphiterator.inc22 new RecursiveCachingIterator(
23 new ParentIterator(
24 new RecursiveDirectoryIterator($path, RecursiveDirectoryIterator::KEY_AS_FILENAME
/PHP-5.3/ext/spl/examples/
H A Ddirectorygraphiterator.inc22 new RecursiveCachingIterator(
23 new ParentIterator(
24 new RecursiveDirectoryIterator($path, RecursiveDirectoryIterator::KEY_AS_FILENAME
/PHP-5.3/ext/standard/tests/serialize/
H A Dbug28325.phpt14 $a = new a();
15 $a->b = new b();
16 $a->b->c = new c();
/PHP-5.3/Zend/tests/
H A Dbug55156.phpt10 $x = new \ReflectionFunction('foo\test');
19 $x = new \ReflectionClass('foo\bar');
22 $x = new \ReflectionClass('foo\foo');
H A Dclone_002.phpt6 $a = clone clone $b = new stdClass;
10 $c = clone clone clone $b = new stdClass;
15 $d = clone $a = $b = new foo;
H A Dbug45805.phpt11 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 Dbug45529.phpt6 $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 DReflectionProperty_getValue_error.phpt17 $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 DReflectionClass_isInstance_basic.phpt15 $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 Dimap_createmailbox_basic.phpt10 * 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 Dcreate_new_and_modify.phpt16 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 Dcreate_new_and_modify.phpt16 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 Dpharfileinfo_construct.phpt14 $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__);

Completed in 50 milliseconds

1...<<11121314151617181920>>...172