Hi,

Am 19.09.2012 um 18:11 schrieb Michael Stowe <m...@mikestowe.com>:

> Personally, I would like to see it operate similar to MySQLi, where you
> have the convenience of OOP, but can still call a function directly in a
> procedural manner.

There seems to be a need for a procedural API. As their is one, let’s do it 
similar to how MySQLi etc. does it and use a context resource:

$ctx = escape_context_create('UTF-8');
$str = escape_html_attr($ctx, $str);

And so on. 

cu,
Lars
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to