Re: [RFC] New operator for context-dependent escaping

From: Date: Sun, 17 Jul 2016 09:54:56 +0000
Subject: Re: [RFC] New operator for context-dependent escaping
References: 1 2  Groups: php.internals 
Request: Send a blank email to internals+get-94526@lists.php.net to get a copy of this message
On 2016-07-17 06:49, Marcio Almada wrote:
2 . Is there any rationale why we're using strings separated by '|' to pass context instead of an array? Ex.: <?* $str, ['js', 'html'] ?>
Multiple arguments would make the syntax even cleaner: <?* $str, 'js', 'html' ?> -- Lauri Kenttä

« previous php.internals (#94526) next »