How to new an instance and run in a single line in PHP?
Posted
by user198729
on Stack Overflow
See other posts from Stack Overflow
or by user198729
Published on 2010-03-19T15:19:58Z
Indexed on
2010/03/19
15:21 UTC
Read the original article
Hit count: 127
(new className)->methodName();
The above will give a Parse error
© Stack Overflow or respective owner