I got it figured out...
PHP Code:
<?php
class A
{
function __toString(){return "A";}
}
$Class = 'A';
$Instance = new $Class();
echo $Instance;
echo "No Error";
?>
Though it's really dumb in my opinion if a string is treated like a simple data type.
Quote:
Originally Posted by Fou-Lu
Now this all said, for what reason do you need to issue an alter command? Typically speaking, with the exception of installation process, you shouldn't need to ever issue a CREATE, DROP or ALTER SQL command in a project.
|
You haven't worked on anything big enough or spanning multiple systems/servers.