Re: [PHP] self operator within a double quoted string

2013-04-17 Thread Matijn Woudt
On Wed, Apr 17, 2013 at 10:19 PM, Marco Behnke wrote: > Or use printf which is much more readable. > Are you serious about this? How would printf make things more readable? Given a string with some %s %d etc in it, and then at the end you're giving the stuff that replaces them. I fail to see how

Re: [PHP] self operator within a double quoted string

2013-04-17 Thread Marco Behnke
Am 17.04.13 20:59, schrieb Matijn Woudt: > On Wed, Apr 17, 2013 at 7:47 PM, NaMarPi wrote: > >> I would like to use self and static operators inside a double quoted >> string, >> but do not find the way to accomplish that. Could you give me a right >> direction? >> >> >> http://3v4l.org/NDkdA >> >

Re: [PHP] self operator within a double quoted string

2013-04-17 Thread Matijn Woudt
On Wed, Apr 17, 2013 at 7:47 PM, NaMarPi wrote: > I would like to use self and static operators inside a double quoted > string, > but do not find the way to accomplish that. Could you give me a right > direction? > > > http://3v4l.org/NDkdA > > > class Foo { > > public static $class_prop = '