cesarcesar
Programmer
- Mar 5, 2003
- 30
I have just recently updated my server to PHP 5.1. I am getting a grip of errors in my logs now related to an object i use. This is just one of the error.
It is referencing a script i use like -
Has this type of object usage degraded in 5.1, or is there something i need to set in my now updated php.ini file.
Thanks.
Code:
Undefined property: object::$core in /var/www/vhosts/site.com/httpdocs/index.php
It is referencing a script i use like -
Code:
// set object //
class object {};
$SITE = new object;
// difine //
$SITE->core = 'test string';
// in use //
echo"$SITE->core";
Has this type of object usage degraded in 5.1, or is there something i need to set in my now updated php.ini file.
Thanks.