note 56777 added to ref.classobj
| From: | robert at interjinn dot com | Date: | Thu, 15 Sep 2005 03:29:36 +0000 |
| Subject: | note 56777 added to ref.classobj | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-95193@lists.php.net to get a copy of this message | ||
[FalseQuote]
<?php
$dbName = "MySQL";
$db = new $dbName ( ... );
?>
"Also note, this is a PHP5 only feature."
[/FalseQuote]
Lies :) This is perfectly valid in PHP 4 also.
----
Manual Page -- http://www.php.net/manual/en/ref.classobj.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+56777
Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+56777&report=yes&reason=added+to+the+manual
Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+56777&report=yes&reason=bad+code
Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+56777&report=yes&reason=spam
Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+56777&report=yes&reason=useless
Delete: non-english -- http://master.php.net/manage/user-notes.php?action=delete+56777&report=yes&reason=non-english
Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+56777&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+56777&report=yes
Search -- http://master.php.net/manage/user-notes.php