Snort The idea of the super global £_BISCUIT instead of $_COOKIE - that made my morning.
Offtopic - re cookies, the etymology of cookie (or 'magic cookie') as an opaque value is very obscure and has a interesting social side-effect in that it's difficult for average people to get very worked up about websites serving cookies (vs say the more universally understood 'tokens' or 'tracking codes'). While I get that the term originated in the Unix/C world[1], does anyone know if it comes from a particular US…
If PHP Were British (2011)
31–40 of 47 posts
Re: If PHP Were British (2011)
#32Since Rasmus Lerdorf was in Canada, I wonder what this would look like if it were in Canadian English. It would retain the dollar signs and serialize(), but switch to "colour" and "centre". It would be required by law to support a French version for every keyword. All PHP developers would have the advantage of free treatment for carpal-tunnel and other RSI injuries. What else?
Re: If PHP Were British (2011)
#33exit() would be called brexit() as some of the commenters pointed out... but instead of actually exiting, it will hang indefinitely trying to choose which exit code to return.
Re: If PHP Were British (2011)
#34Re: If PHP Were British (2011)
#35In reality of course the only difference is that it gets spelled "colour"... One thing I'm surprised to have seen only once is use of ¬ as an escape character, because it's so reliably unused for anything at all. (I noticed in the code that this program, which needless to say was written at a UK company, had no way of escaping ¬ itself, presumably because nobody had ever needed that.) £ also seems a bit underused, bu…
The funny spelling of centre always gets me too, it just looks so wrong! I can get used to writing words that end in ise as ize , and colour as color . But center , fiber , liter , etc just don't sit right.
Centre look and sounds like “cent-ruh” rather than the rolled out sounding of err sound to make “center”. Then again, how you say it is a bit different, too.
Re: If PHP Were British (2011)
#36In reality of course the only difference is that it gets spelled "colour"... One thing I'm surprised to have seen only once is use of ¬ as an escape character, because it's so reliably unused for anything at all. (I noticed in the code that this program, which needless to say was written at a UK company, had no way of escaping ¬ itself, presumably because nobody had ever needed that.) £ also seems a bit underused, bu…
As to why UK keyboards include it? Probably IBM, ¬ was the negation/not symbol in Z, it wouldn't surprise me if Hursley Park petitioned the rest of the company to ensure it was on the UK PC layout.
(This Z: https://en.wikipedia.org/wiki/Z_notation )
Re: If PHP Were British (2011)
#37Earlier quoted context omitted.
The funny spelling of centre always gets me too, it just looks so wrong! I can get used to writing words that end in ise as ize , and colour as color . But center , fiber , liter , etc just don't sit right.
Here’s my American perspective: Centre look and sounds like “cent-ruh” rather than the rolled out sounding of err sound to make “center”. Then again, how you say it is a bit different, too.
The first is much closer to the British pronunciation, which (I think) is much more deserving of the spelling "centre" than the second "cener".
Re: If PHP Were British (2011)
#38In reality of course the only difference is that it gets spelled "colour"... One thing I'm surprised to have seen only once is use of ¬ as an escape character, because it's so reliably unused for anything at all. (I noticed in the code that this program, which needless to say was written at a UK company, had no way of escaping ¬ itself, presumably because nobody had ever needed that.) £ also seems a bit underused, bu…
¬ is one of the many 'not' symbols that has been used through history. As to why UK keyboards include it? Probably IBM, ¬ was the negation/not symbol in Z, it wouldn't surprise me if Hursley Park petitioned the rest of the company to ensure it was on the UK PC layout. (This Z: https://en.wikipedia.org/wiki/Z_notation )
Re: If PHP Were British (2011)
#39Earlier quoted context omitted.
¬ is one of the many 'not' symbols that has been used through history. As to why UK keyboards include it? Probably IBM, ¬ was the negation/not symbol in Z, it wouldn't surprise me if Hursley Park petitioned the rest of the company to ensure it was on the UK PC layout. (This Z: https://en.wikipedia.org/wiki/Z_notation )
It makes a good EOL character to highlight trailing whitespace.
Re: If PHP Were British (2011)
#40Since Rasmus Lerdorf was in Canada, I wonder what this would look like if it were in Canadian English. It would retain the dollar signs and serialize(), but switch to "colour" and "centre". It would be required by law to support a French version for every keyword. All PHP developers would have the advantage of free treatment for carpal-tunnel and other RSI injuries. What else?
The Canadian version would apologize profusely whenever an error occurs.
Routine would be renamed Poutine.