Searched refs:instance (Results 1 – 25 of 578) sorted by path
12345678910>>...24
15 For instance, `function int mail(char *to, char *from)` should NOT free to61 9. Do not define functions that are not available. For instance, if a library is
1667 . Fixed bug #78409 (Segfault when creating instance of ArrayIterator without2703 instance. (fandrieu)
66 . Calling var_dump() or similar on a DateTime(Immutable) instance will no113 . Attempting to serialize a PDO or PDOStatement instance will now generate134 . Calling get_object_vars() on an ArrayObject instance will now always return738 user share an OPcache instance.
2 Ensure proper inheritance with get_class(anon class instance) used via class_alias (see also bug #7…
2 Bug #26077 (Memory leaks when creating an instance of an object)
2 Bug #32226 (SEGV with exception handler on non existing instance)
2 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 :
7 static function instance() {return new BUG();}20 BUG::instance()->error;
7 private static $instance;10 self::$instance = $this;14 if (!(self::$instance instanceof BasicSingleton)) {16 self::$instance = new $c;18 return self::$instance;
23 …ncaught TypeError: Argument 1 passed to test() must be an instance of OtherClassName, instance of …
7 public $instance;10 $this->instance = ++self::$instances;25 echo $foo->instance . "\n";26 echo $child->instance . "\n";
14 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
40 …Uncaught TypeError: Argument 1 passed to foo\test5() must be an instance of bar, instance of foo\b…
15 …ypeError: Argument 1 passed to foobar\foo::bar() must be an instance of foobar\foo, instance of st…
9 static $instance = null;10 $instance = new Foo();11 return $instance->bar;
2 Bug #49893 (Crash while creating an instance of Zend_Mail_Storage_Pop3)
16 echo "instance\n";30 instance31 instance32 instance
7 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;
11 function test(&$instance, &$method) {12 $instance->{$method}();15 $instance = new Foo;18 test($instance, $method);
5 $instance = new class('foo') {9 var_dump(serialize($instance));
2 Bug #70681: Segfault when binding $this of internal instance method to null
22 $instance = new MyClass();23 clone $instance;
2 Bug #72594 (Calling an earlier instance of an included anonymous class fatals)
2 Bug #73960: Leak with instance method calling static method with referenced return
2 Bug #74862 (Unable to clone instance when private __clone defined)
Completed in 29 milliseconds