Home
last modified time | relevance | path

Searched refs:instance (Results 1 – 25 of 578) sorted by path

12345678910>>...24

/PHP-7.4/
H A DCODING_STANDARDS.md15 For instance, `function int mail(char *to, char *from)` should NOT free to
61 9. Do not define functions that are not available. For instance, if a library is
H A DNEWS1667 . Fixed bug #78409 (Segfault when creating instance of ArrayIterator without
2703 instance. (fandrieu)
H A DUPGRADING66 . Calling var_dump() or similar on a DateTime(Immutable) instance will no
113 . Attempting to serialize a PDO or PDOStatement instance will now generate
134 . Calling get_object_vars() on an ArrayObject instance will now always return
738 user share an OPcache instance.
/PHP-7.4/Zend/tests/anon/
H A D011.phpt2 Ensure proper inheritance with get_class(anon class instance) used via class_alias (see also bug #7…
/PHP-7.4/Zend/tests/
H A Dbug26077.phpt2 Bug #26077 (Memory leaks when creating an instance of an object)
H A Dbug32226.phpt2 Bug #32226 (SEGV with exception handler on non existing instance)
H A Dbug32322.phpt2 Bug #32322 (Return values by reference broken( using self::),example singleton instance)
9 private static $instance = null;
20 if ( self::$instance == null )
22 self::$instance = new test('Singleton1');
25 echo "Using old class " . self::$instance -> myname . "\n";
27 return self::$instance;
51 echo "Try static instance inside class :\n";
57 echo "Try static instance inside function :\n";
67 Try static instance inside class :
73 Try static instance inside function :
H A Dbug32596.phpt7 static function instance() {return new BUG();}
20 BUG::instance()->error;
H A Dbug34045.phpt7 private static $instance;
10 self::$instance = $this;
14 if (!(self::$instance instanceof BasicSingleton)) {
16 self::$instance = new $c;
18 return self::$instance;
H A Dbug39003.phpt23 …ncaught TypeError: Argument 1 passed to test() must be an instance of OtherClassName, instance of …
H A Dbug39721.phpt7 public $instance;
10 $this->instance = ++self::$instances;
25 echo $foo->instance . "\n";
26 echo $child->instance . "\n";
H A Dbug41961.phpt14 echo "Called private " . __METHOD__ . "() on an instance of: " . get_class($this) . "\n";
24 echo "Called public " . __METHOD__ . "() on an instance of: " . get_class($this) . "\n";
29 Called public ChildClass::secret() on an instance of: ChildClass
H A Dbug42802.phpt40 …Uncaught TypeError: Argument 1 passed to foo\test5() must be an instance of bar, instance of foo\b…
H A Dbug43332_1.phpt15 …ypeError: Argument 1 passed to foobar\foo::bar() must be an instance of foobar\foo, instance of st…
H A Dbug47165.phpt9 static $instance = null;
10 $instance = new Foo();
11 return $instance->bar;
H A Dbug49893.phpt2 Bug #49893 (Crash while creating an instance of Zend_Mail_Storage_Pop3)
H A Dbug51176.phpt16 echo "instance\n";
30 instance
31 instance
32 instance
H A Dbug68652.phpt7 private static $instance;
9 if (isset(self::$instance)) {
10 return self::$instance;
12 return self::$instance = new self();
22 private static $instance;
24 if (isset(self::$instance)) {
25 return self::$instance;
27 return self::$instance = new self();
31 if (!isset(self::$instance)) return;
H A Dbug69124.phpt11 function test(&$instance, &$method) {
12 $instance->{$method}();
15 $instance = new Foo;
18 test($instance, $method);
H A Dbug69761.phpt5 $instance = new class('foo') {
9 var_dump(serialize($instance));
H A Dbug70681.phpt2 Bug #70681: Segfault when binding $this of internal instance method to null
H A Dbug71275.phpt22 $instance = new MyClass();
23 clone $instance;
H A Dbug72594.phpt2 Bug #72594 (Calling an earlier instance of an included anonymous class fatals)
H A Dbug73960.phpt2 Bug #73960: Leak with instance method calling static method with referenced return
H A Dbug74862.phpt2 Bug #74862 (Unable to clone instance when private __clone defined)

Completed in 29 milliseconds

12345678910>>...24