NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
[Small Bug]calling static methods with variable class name.


Joined: 03 Aug 2008
Posts: 13
Reply with quote
PhpED: 5.25 ( build 5957 ).

Just a quick heads up on a small but annoying bug.

Calling a static method using a variable class name: -

Code:

$my_class::instance();


shows as an error "Unexpected ::"
View user's profileFind all posts by ThunderaceSend private message
[Small Bug]calling static methods with variable class name.
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT - 5 Hours  
Page 1 of 1  

  
  
 Reply to topic