UNPKG

phpjs

Version:

php.js offers community built php functions in javascript

27 lines (19 loc) 1.45 kB
<!-- Generated by Rakefile:build --> <strong> <a href="http://an3m1.com/" rel="nofollow">????? ????? ????</a> </strong> on 2012-04-11 15:37:16 <br /> This is a very informative article. I was looking for these things and here I found it. I am doing a project and this information is very useful me. Some things in here I have not thought about before <hr /> <strong> <a href="http://brett-zamir.me" rel="nofollow">Brett Zamir</a> </strong> on 2011-09-10 10:49:01 <br /> @Jason B: Yes, sorry but with the fact that newer browsers on the scene disregarded the Firefox convention of preserving object iteration order (it's only implementation-dependent per the ECMAScript spec)--and since IE hadn't supported it with perfect fidelity anyways (if you ever deleted properties anyways), we have started adding an option to the array functions to use a more awkward construction to build associative arrays (&quot;{key1:value1}, {key2:value2}, ...&quot;), but it has not been fully deployed. See the array() source code for the PHPJS_Array class begun to offer this support. I've unfortunately been too busy to do much documentation or expansion of it. <hr /> <strong> <a href="http://jasonbutz.info" rel="nofollow">Jason B</a> </strong> on 2011-09-09 23:11:02 <br /> A warning to people: If you are using this to sort an associative array/object your results will be inconsistent between Chrome and Firefox. I didn't compare these two with IE. <hr />