note 10726 added to get_class_vars

From: Date: Fri, 19 Jan 2001 04:06:35 +0000
Subject: note 10726 added to get_class_vars
Groups: php.notes 
Request: Send a blank email to php-notes+get-9951@lists.php.net to get a copy of this message
Good thing those functions are never run, because $this->$x = 0; would not set the value of the variable "x" in the object to 0, instead it would create a new object variable with a name equal to what ever x is currently set to, and a value of 0. http://www.php.net/manual/en/function.get-class-vars.php

« previous php.notes (#9951) next »