/PHP-5.5/ext/date/tests/ |
H A D | bug54597.phpt | 7 $tz = new DateTimeZone("Europe/Amsterdam"); 8 $dateObject = new DateTime( 'January 0099', $tz ); 10 $dateObject = new DateTime( 'January 1, 0099', $tz ); 12 $dateObject = new DateTime( '0099-01', $tz );
|
/PHP-5.5/Zend/tests/ |
H A D | ns_085.phpt | 10 new foo; 11 new bar; 18 new foo1; 19 new foo;
|
H A D | bug39346.phpt | 19 $test = new test(2); 20 $test = new test(1); 21 $test = new test(2); 22 $test = new test(3);
|
H A D | class_alias_020.phpt | 22 var_dump(new \foo, new \bar); 24 var_dump(new \foo\foo, new \foo\bar);
|
H A D | bug31177.phpt | 8 throw new Exception; 12 return new DbGowRecordSet($this->query()); 16 new DbGowRecordSet($this->query()); 28 $db = new DbGow;
|
H A D | bug51822.phpt | 17 $this->test = new DestructableObject; 28 //Test::$mystatic = new DestructorCreator(); 30 $x = new Test(); 33 Test::$mystatic = new DestructorCreator();
|
H A D | ns_060.phpt | 8 $a = new B; 9 $b = new A; 14 $a = new B; 15 $b = new A;
|
H A D | ns_081.phpt | 10 new foo; 11 new bar; 17 new foo1; 18 new foo;
|
H A D | ns_084.phpt | 10 new foo; 11 new bar; 17 new foo1; 18 new foo;
|
H A D | ns_087.phpt | 10 new foo; 11 new bar; 19 new foo1; 20 new foo;
|
H A D | objects_023.phpt | 6 $arr = array(new stdClass, 'stdClass'); 8 new $arr[0](); 9 new $arr[1]();
|
/PHP-5.5/ext/reflection/tests/ |
H A D | ReflectionObject_FileInfo_basic.phpt | 5 $rc = new ReflectionObject(new C); 10 $rc = new ReflectionObject(new stdclass);
|
H A D | bug46064.phpt | 10 $o = new x; 14 var_dump($h = new reflectionproperty($o, 'z')); 24 var_dump(new reflectionproperty($o, 'zz')); 29 var_dump(new reflectionproperty($o, 'zzz')); 40 $p = new reflectionproperty($this, 'foobar'); 45 new bar;
|
H A D | ReflectionObject_isInstance_basic.phpt | 11 $instances = array( "myA" => new A, 12 "myB" => new B, 13 "myX" => new X ); 16 $ro = new ReflectionObject(new $class);
|
/PHP-5.5/ext/spl/tests/ |
H A D | spl_cachingiterator___toString_basic.phpt | 9 $ai = new ArrayIterator(array(new stdClass(), new stdClass())); 10 $ci = new CachingIterator($ai);
|
H A D | arrayObject_getFlags_basic2.phpt | 5 $ao = new ArrayObject(array(), ArrayObject::STD_PROP_LIST|ArrayObject::ARRAY_AS_PROPS); 8 $ao2 = new ArrayObject($ao); 12 $ai = new ArrayIterator($ao); 15 $ao2 = new ArrayObject($ao, 0);
|
H A D | heap_009.phpt | 21 $heap = new SplMinHeap; 25 $heap = new SplMinHeap; 30 $heap = new SplMaxHeap; 34 $heap = new SplMaxHeap; 39 $heap = new SplPriorityQueue; 43 $heap = new SplPriorityQueue;
|
/PHP-5.5/Zend/tests/traits/ |
H A D | bug60717.phpt | 63 $o = new HTMLHelper; 64 $o = new HTMLHelper2; 65 $o = new HTMLHelper3; 66 $o = new HTMLHelper4; 67 $o = new HTMLHelper5; 68 $o = new HTMLHelper6;
|
/PHP-5.5/ext/mysqli/tests/ |
H A D | mysqli_class_mysqli_warning.phpt | 17 $warning = new mysqli_warning(); 18 $warning = new mysqli_warning(null); 19 $warning = new mysqli_warning(null, null); 21 $mysqli = new mysqli(); 22 $warning = new mysqli_warning($mysqli); 24 $mysqli = new my_mysqli($host, $user, $passwd, $db, $port, $socket); 25 $stmt = new mysqli_stmt($mysqli); 26 $warning = new mysqli_warning($stmt); 29 $warning = new mysqli_warning($stmt); 31 $obj = new stdClass(); [all …]
|
/PHP-5.5/ext/dom/tests/ |
H A D | dom_create_element.phpt | 10 $dom = new domDocument; 19 $dom = new domDocument; 28 $dom = new domDocument; 37 $dom = new domDocument; 46 $dom = new domDocument; 55 $dom = new domDocument; 64 $dom = new domDocument; 73 $dom = new domDocument; 82 $dom = new domDocument; 91 $dom = new domDocument; [all …]
|
/PHP-5.5/ext/phar/tests/ |
H A D | phar_ctx_001.phpt | 22 $phar = new Phar($fname); 34 file_put_contents($pname . '/a', b'new a', 0); // no compression 35 file_put_contents($pname . '/b', b'new b', 0, $context); 36 file_put_contents($pname . '/d', b'new d', 0, $context2); 38 $phar = new Phar($fname); 73 string(5) "new a" 76 string(5) "new b" 87 string(5) "new d" 94 string(5) "new b"
|
/PHP-5.5/ext/standard/tests/array/ |
H A D | asort_object1.phpt | 48 1 => new for_integer_asort(11), 2 => new for_integer_asort(66), 49 3 => new for_integer_asort(23), 4 => new for_integer_asort(-5), 50 5 => new for_integer_asort(0.001), 6 => new for_integer_asort(0) 55 "a" => new for_string_asort("axx"), "b" => new for_string_asort("t"), 56 "c" => new for_string_asort("w"), "d" => new for_string_asort("py"), 57 "e" => new for_string_asort("apple"), "f" => new for_string_asort("Orange"), 58 "g" => new for_string_asort("Lemon"), "h" => new for_string_asort("aPPle")
|
H A D | ksort_object.phpt | 46 11 => new Integer(11), 66 => new Integer(66), 47 23 => new Integer(23), -5 => new Integer(-5), 48 1 => new Integer(0.001), 0 => new Integer(0) 53 "axx" => new String("axx"), "t" => new String("t"), 54 "w" => new String("w"), "py" => new String("py"), 55 "apple" => new String("apple"), "Orange" => new String("Orange"), 56 "Lemon" => new String("Lemon"), "aPPle" => new String("aPPle")
|
H A D | krsort_object.phpt | 45 10 => new Integer(11), 20 => new Integer(66), 46 3 => new Integer(23), 4 => new Integer(-5), 47 50 => new Integer(0.001), 6 => new Integer(0) 52 "axx" => new String("axx"), "t" => new String("t"), 53 "w" => new String("w"), "py" => new String("py"), 54 "apple" => new String("apple"), "Orange" => new String("Orange"), 55 "Lemon" => new String("Lemon"), "aPPle" => new String("aPPle")
|
/PHP-5.5/tests/classes/ |
H A D | inheritance_005.phpt | 22 echo "About to construct new B: \n"; 23 $b = new B; 31 echo "About to construct new C: \n"; 32 $c = new C; 44 About to construct new B: 50 About to construct new C:
|