PHP Manual says there are two special cases for
headers, Location and Status. Not to concerned about
status here, but it states that Location: always
returns an status code 302. Now HTTP/1.1 depreciates
302 since browsers were incorrectly implementing it
anyways. It was replaces 302 with the
Anybody know if PHP 4.x (5.x?) will be sticking with
Perl5 RegEx syntax for preg's or will it be changing
to the new Perl6 RegEx syntax (which I really dislike
but what can you do, Larry has spoken).
If we do plan to move to Perl6 RegEx, please implement
the P5 modifier
-Peter
Question on optimizing code for quicker runtimes.
Which is quicker (this is on a webpage also..NOT
commandline)?
?php if ($a){ echo 'abc'; } ?
OR
?php if ($a) { ? abc ?php } ?
Both do the same thing and are legit but wondering
which is better from an optimization standpoint (NOT
interested
3 matches
Mail list logo