note 56777 deleted from ref.classobj by jome
| From: | jome@php.net | Date: | Sun, 25 Sep 2005 11:38:49 +0000 |
| Subject: | note 56777 deleted from ref.classobj by jome | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-95750@lists.php.net to get a copy of this message | ||
Note Submitter: robert at interjinn dot com
----
[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.