Re: [PHP]

2013-04-17 Thread Micky Hulse
Ah, I see now. Sorry, I must have read the original question wrong. There's a good thread on stack about short tags: "Are PHP short tags acceptable to use?" Which kinda links to the docs: "PHP tags"

RE: [PHP]

2013-04-17 Thread Daevid Vincent
It is the equivalent of it's just easier to type and read IMHO. For a while people were freaking out that they thought it would be deprecated, but that is not (nor ever will be) the case. > -Original Message- > From: Larry Martell [mailto:larry.mart...@gmail.com] > Sent: Wednesday, Apr

Re: [PHP]

2013-04-17 Thread Micky Hulse
On Wed, Apr 17, 2013 at 3:59 PM, Micky Hulse wrote: > You might need to turn on the short tag option > in your conf file. Sorry, ini file, not conf. Been a long day. :D I guess I should have asked if short tags are turned on for your 5.3.3? -- PHP General Mailing List (http://www.php.net/) To

Re: [PHP]

2013-04-17 Thread Micky Hulse
It should still work. You might need to turn on the short tag option in your conf file. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP]

2013-04-17 Thread Larry Martell
Continuing in my effort to port an app from PHP version 5.1.6 to 5.3.3, the app uses this construct all over the place when building links: I never could find any documentation for this, but I assumed it was some conditional thing - use $var if it's defined, otherwise use nothing. In 5.1.6 it se

RE: [PHP] Need a tool to minimize HTML before storing in memecache

2013-04-17 Thread Daevid Vincent
> -Original Message- > From: Matijn Woudt [mailto:tijn...@gmail.com] > Sent: Wednesday, April 17, 2013 3:11 PM > To: Daevid Vincent > Cc: PHP List > Subject: Re: [PHP] Need a tool to minimize HTML before storing in > memecache > > On Wed, Apr 17, 2013 at 11:52 PM, Daevid Vincent > wrote

Re: [PHP] Need a tool to minimize HTML before storing in memecache

2013-04-17 Thread David OBrien
On Wed, Apr 17, 2013 at 5:52 PM, Daevid Vincent wrote: > We do a lot with caching and storing in memecached as well as local copies > so as to not hit the cache pool over the network and we have found some > great tools to minimize our javascript and our css, and now we'd like to > compress our H

Re: [PHP] Need a tool to minimize HTML before storing in memecache

2013-04-17 Thread Matijn Woudt
On Wed, Apr 17, 2013 at 11:52 PM, Daevid Vincent wrote: > We do a lot with caching and storing in memecached as well as local copies > so as to not hit the cache pool over the network and we have found some > great tools to minimize our javascript and our css, and now we'd like to > compress our

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

2013-04-17 Thread Matijn Woudt
On Wed, Apr 17, 2013 at 11:30 PM, NaMarPi wrote: > I found that double quoted strings are more elegant in some situations > than single ones, and I like identical solutions for identical problems, > so that's why I asked this question. > > But finally found a reason why use single quoted strings

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] Need a tool to minimize HTML before storing in memecache

2013-04-17 Thread Joseph Moniz
http://php.net/manual/en/book.tidy.php - Joseph Moniz (510) 509-0775 | @josephmoniz | GitHub | LinkedIn | Blog | CoderWall

[PHP] Need a tool to minimize HTML before storing in memecache

2013-04-17 Thread Daevid Vincent
We do a lot with caching and storing in memecached as well as local copies so as to not hit the cache pool over the network and we have found some great tools to minimize our javascript and our css, and now we'd like to compress our HTML in these cache slabs. Anyone know of a good tool or even

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

2013-04-17 Thread NaMarPi
I found that double quoted strings are more elegant in some situations than single ones, and I like identical solutions for identical problems, so that's why I asked this question. But finally found a reason why use single quoted strings instead of double: because the number of generated opcodes i

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 = '

[PHP] self operator within a double quoted string

2013-04-17 Thread NaMarPi
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 = 'Class_Property';     public $object_prop = 'Object_Property';     st