Hi!

> I prepared my first contribution to internals:
> 
> https://github.com/php/php-src/pull/1932

I don't think we need a core function that almost exactly duplicates the
working of existing function but with a slight tweak. I do not think it
is a good idea to do such things, it only produces more confusion.  I
mean yes, NULL may be annoying (not to me but I understand how it can
be) but introducing new core function to change "NULL" to "null" and
similar small tweaks and encourage people (99.99999% of which do not
care) to rewrite their code does not seem beneficial to me.

The extended mode seems to be a kind of pretty-printing debugging output
which probably matches some use case but definitely not all of them. I
don't see how these cases are common enough to be part of core. This
would be completely fine as a PHP library but I don't see why it needs
to be a core function.

-- 
Stas Malyshev
smalys...@gmail.com

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

Reply via email to