Hi Leigh, On Sat, Sep 7, 2013 at 2:56 PM, Leigh <lei...@gmail.com> wrote:
> Looks like the rfc author was unable to implement it himself at the time > of the proposal. > > The last thing in the discussion thread looks like "implement it in PECL > first, and it might get bundled later" > > http://marc.info/?l=php-internals&m=134822086426610&w=2 > Thank you for the info. I searched my mailbox, but I couldn't find this. It would be better to implement this as SPL_Escape class. SPL_Escape::jsString() SPL_Escape::phpString() SPL_Escape::html() SPL_Escape::htmlAttribute() etc It looks nicer than Escaper::escapeJs(), Escaper::escapeHtml(), etc. Any comments? Anyone mind if I edit the RFC? Regards, -- Yasuo Ohgaki yohg...@ohgaki.net