Re: [RFC] Escaping RFC for PHP Core - Updates?

From: Date: Sat, 07 Sep 2013 08:35:07 +0000
Subject: Re: [RFC] Escaping RFC for PHP Core - Updates?
References: 1 2  Groups: php.internals 
Request: Send a blank email to internals+get-68939@lists.php.net to get a copy of this message
Hi Leigh, On Sat, Sep 7, 2013 at 2:56 PM, Leigh <leight@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 yohgaki@ohgaki.net

« previous php.internals (#68939) next »