Searched refs:new (Results 651 – 675 of 4661) sorted by relevance
1...<<21222324252627282930>>...187
/PHP-5.4/Zend/tests/ |
H A D | objects_027.phpt | 2 Testing 'new static;' calling parent method 8 var_dump(new static); 18 $foo = new foo;
|
H A D | bug29689.phpt | 43 $bar = new bar; 46 $baz = new baz(); 49 $baz = new baz2();
|
H A D | closure_014.phpt | 20 $x = new C1(); 33 $x = new C2(); 55 $x = new C3();
|
H A D | closure_041.phpt | 37 $a = new A(); 56 $d = $staticUnscoped->bindTo(new A); $d(); echo "\n"; 57 $d = $nonstaticUnscoped->bindTo(new A); $d(); echo " (should be scoped to dummy class)\n"; 58 $d = $staticScoped->bindTo(new A); $d(); echo "\n"; 59 $d = $nonstaticScoped->bindTo(new A); $d(); echo "\n"; 62 $d = $nonstaticUnscoped->bindTo(new B); $d(); echo " (should be scoped to dummy class)\n"; 63 $d = $nonstaticScoped->bindTo(new B); $d(); echo "\n";
|
H A D | ns_055.phpt | 19 $foo = new Foo(); 20 $ex = new \Exception();
|
/PHP-5.4/ext/xmlreader/tests/ |
H A D | 007.phpt | 14 $reader = new XMLReader(); 29 $reader = new XMLReader(); 43 $reader = new XMLReader();
|
/PHP-5.4/ext/phar/tests/ |
H A D | phar_buildfromiterator3.phpt | 39 $phar = new Phar(dirname(__FILE__) . '/buildfromiterator.phar'); 40 $phar->buildFromIterator(new myIterator(array()), new stdClass);
|
H A D | test_unset.phpt | 15 $phar = new Phar($fname); // no entries, never flushed 20 $phar = new Phar($fname2); 28 $phar = new Phar($fname);
|
/PHP-5.4/ext/phar/tests/tar/ |
H A D | tar_makebz2.phpt | 2 Phar: tar-based phar, make new bzipped tar 16 $phar = new Phar($fname); 23 $phar2 = new Phar($fname3);
|
H A D | tar_makegz.phpt | 2 Phar: tar-based phar, make new gzipped tar 16 $phar = new Phar($fname); 24 $phar2 = new Phar($fname3);
|
/PHP-5.4/ext/soap/tests/ |
H A D | classmap004.phpt | 33 return new B(5); 40 $this->server = new SoapServer($wsdl, $options); 53 $client = new LocalSoapClient(dirname(__FILE__)."/classmap003.wsdl",
|
/PHP-5.4/ext/spl/tests/ |
H A D | class_implements_basic2.phpt | 26 s_var_dump(class_implements(new foobarImpl)); 28 s_var_dump(class_implements(new fooViaBarImpl)); 30 s_var_dump(class_implements(new fooExtended));
|
H A D | SplDoublyLinkedList_isEmpty_not-empty.phpt | 7 // Create a new Doubly Linked List 8 $dll = new SplDoublyLinkedList();
|
H A D | array_002.phpt | 10 $object = new ArrayObject($array); 13 $arrayObject = new ArrayObject($object);
|
H A D | bug36287.phpt | 6 $it = new RecursiveIteratorIterator(new RecursiveDirectoryIterator("."), true);
|
/PHP-5.4/ext/spl/internal/ |
H A D | multipleiterator.inc | 39 /** Construct a new empty MultipleIterator 44 $this->iterators = new SplObjectStorage(); 54 /** @param $flags new flags. */ 60 /** @param $iter new Iterator to attach. 73 throw new IllegalValueException('Inf must be NULL, integer or string'); 79 throw new IllegalValueException('Key duplication error'); 173 throw new IllegalValueException('Sub-Iterator is associated with NULL'); 184 throw new RuntimeException('Called current() with non valid sub iterator'); 214 throw new LogicException('Called key() with non valid sub iterator');
|
/PHP-5.4/ext/mysqli/tests/ |
H A D | mysqli_class_mysqli_result_interface.phpt | 14 $mysqli = new my_mysqli($host, $user, $passwd, $db, $port, $socket); 113 if (!is_object($res = new mysqli_result($link))) 122 if (!is_object($res = new mysqli_result($link))) 125 if (!is_object($res = new mysqli_result($link, MYSQLI_STORE_RESULT))) 128 if (!is_object($res = new mysqli_result($link, MYSQLI_USE_RESULT))) 131 if (!is_object($res = new mysqli_result($link, 'invalid'))) 141 if (!is_object($res = new mysqli_result($link, $mode))) 149 if (!is_object($res = new mysqli_result('foo'))) 152 if (!is_object($res = @new mysqli_result($link, MYSQLI_STORE_RESULT, 1)))
|
/PHP-5.4/tests/lang/ |
H A D | foreachLoopObjects.003.phpt | 15 $obj = new C; 23 $obj = new C; 31 $obj = new C; 38 $obj = new C; 41 $newPropName = "new$counter"; 52 $obj = new C; 55 $newPropName = "new$counter"; 66 $obj = new C; 76 $obj = new C;
|
/PHP-5.4/ext/phar/tests/cache_list/files/ |
H A D | write18.phar.inc | 6 $phar = new Phar($fname); 8 $p = new Phar(__FILE__);
|
H A D | write23.phar.inc | 6 $phar = new Phar($fname); 8 $p = new Phar(__FILE__);
|
H A D | write2.phar | 2 $phar = new Phar(__FILE__); 6 $phar2 = new Phar(__FILE__);
|
/PHP-5.4/ext/soap/tests/bugs/ |
H A D | bug44811.phpt | 2 Bug #44811 (Improve error messages when creating new SoapClient which contains invalid data) 10 $x = new SoapClient('http://slashdot.org');
|
/PHP-5.4/ext/reflection/tests/ |
H A D | bug40794.phpt | 6 $obj = new stdClass(); 11 $reflect = new ReflectionObject($obj);
|
H A D | closures_003_v1.phpt | 8 $method = new ReflectionFunction ($closure); 15 $parameter = new ReflectionParameter ($closure, 'b');
|
/PHP-5.4/tests/classes/ |
H A D | tostring_003.phpt | 10 throw new Exception("Damn!"); 22 $o = new Test;
|
Completed in 26 milliseconds
1...<<21222324252627282930>>...187