07-29-2008, 09:10 PM
|
#1 (permalink)
|
|
is cute and cuddly
Join Date: Mar 2008
Location: Vegas, Baby
Posts: 963
Thanks: 31
|
SALATHE!!! Reflection class?
Great time for you to be on vacation buddy! Maybe Kalle or somebody knows... I use PHPs built in reflection class in my registry pattern, but I just got an email from somebody who tried to install my package and got:
Fatal error: Call to undefined method ReflectionClass::newInstanceArgs() in /var/www/html/bin/lib/tuatara.class.php on line 200
The installer won't permit the user to install if they're not running php 5 (tested via version_compare(PHP_VERSION, '5.0.0', '>')) so I know it's not because they're running 4. Is there an early release of PHP 5 that didn't include the reflection API by chance? I checked the docs and it just says PHP 5, no specific version on when it came in.
I don't know what to tell this person, but if there's a specific version of 5 where Reflection was included, I need to know so I can update my installer.
-m
|
|
|
|