Home
last modified time | relevance | path

Searched refs:new (Results 751 – 775 of 4661) sorted by relevance

1...<<31323334353637383940>>...187

/PHP-5.4/Zend/tests/
H A Dbug50174.phpt16 $rm = new ReflectionMethod('TestClass', 'x');
27 $rp = new ReflectionProperty('TestClass2', 'x');
H A Dbug52051.phpt13 new CC();
22 new C();
H A Dcatch_004.phpt10 throw new Exception();
28 new MyObject();
H A Dclass_alias_001.phpt10 $a = new foo;
11 $b = new bar;
H A Dclosure_036.phpt18 $a = new A(0);
19 $b = new A(10);
H A Dgc_028.phpt24 $foo = new Foo();
25 $bar = new Bar();
H A Dns_028.phpt16 $x = new Foo;
18 $x = new Foo\Foo;
H A Dns_054.phpt24 $foo = new Foo();
25 $bar = new Bar();
/PHP-5.4/Zend/RFCs/
H A D001.txt34 model. In general, when you create a new object you will be getting a
48 to create and use a new object instance you will do the following:
49 $object = new MyClass(); $object->method();
51 The previous code will assign $object the handle of a new instance of
75 19 $object = new MyClass();
80 Without the new Java-like handles, at line 20 the objects' data member
94 The new object model will allow for a much more intuitive
106 This was just a simple description of why the new object model solves
110 describe new features with a majority of them being based on this
132 The new object model is not dependent on other features. Many of the
[all …]
/PHP-5.4/ext/reflection/tests/
H A Dproperty_exists.phpt58 $oA = new A;
61 $oC = new C;
70 $r = new ReflectionMethod($p1, 'test');
88 var_dump(property_exists(new A, ''));
89 var_dump(property_exists(new A, '123'));
90 var_dump(property_exists(new A, 'init'));
91 var_dump(property_exists(new A, 'empty'));
H A DReflectionClass_getNamespaceName.phpt9 $function = new \ReflectionClass('stdClass');
15 $function = new \ReflectionClass('A\\B\\Foo');
H A DReflectionMethod_invokeArgs_error2.phpt15 $foo = new ReflectionMethod('TestClass', 'foo');
17 $testClassInstance = new TestClass();
H A DReflectionFunction_getNamespaceName.phpt8 $function = new \ReflectionFunction('sort');
14 $function = new \ReflectionFunction('A\\B\\foo');
/PHP-5.4/Zend/tests/traits/
H A Dbug55424.phpt26 $i = new Base();
29 $t = new MyClass();
H A Dbug55554a.phpt27 $o = new NewConstructor;
30 $o = new LegacyConstructor;
/PHP-5.4/ext/spl/tests/
H A DSplDoublyLinkedList_isEmpty_not-empty-with-parameter.phpt7 // Create a new Doubly Linked List
8 $dll = new SplDoublyLinkedList();
H A DSplDoublyLinkedList_offsetUnset_parameter-larger-num-elements.phpt7 // Create a new Doubly Linked List
8 $dll = new SplDoublyLinkedList();
/PHP-5.4/ext/date/tests/
H A Dbug45682.phpt8 $date = new DateTime("28-July-2008");
9 $other = new DateTime("31-July-2008");
H A Dbug52738.phpt2 Bug #52738 (Can't use new properties in class extended from DateInterval)
9 $I = new di('P10D');
/PHP-5.4/ext/json/tests/
H A Dbug54058.phpt13 $a = new stdclass;
18 $b = new stdclass;
/PHP-5.4/ext/standard/tests/array/
H A Dbug30266.phpt12 throw new Exception("Error");
18 $myobj = new testc();
/PHP-5.4/ext/intl/tests/
H A Dbug14562.phpt12 $fmt = new NumberFormatter("de", NumberFormatter::DECIMAL );
16 $fmt = new NumberFormatter("de", NumberFormatter::DECIMAL );
/PHP-5.4/ext/standard/tests/serialize/
H A Dbug45706.phpt10 $x = array(new Foo1(),new Foo2);
/PHP-5.4/tests/classes/
H A Dabstract_inherit.phpt15 $t = new fail();
16 $t = new pass();
H A Dclass_abstract.phpt17 $t = new derived();
20 $t = new base();

Completed in 22 milliseconds

1...<<31323334353637383940>>...187