I agree with Igor. The readability could be improved and I do not see the
problem of hiding built-in php functions (however, I would not recommend
it).
I would say, if someone hides the normal php built-in function then he or
she is doing that on purpose and is aware of the consequences. Thus it is
Let me give you two specific cases where I think importing a function
significantly improves the readability of code.
A) Tiny libraries
I recently released a "library" that really just consists of two functions.
Those functions are named compose() and pipeline(), and the library is named
"igorw/c
Hi Pierre,
Pierre Joye in php.internals (Sat, 20 Apr 2013 23:33:05 +0200):
>Please try:
>
>https://github.com/pierrejoye/ZendOptimizerPlus/commit/8b518a9cbf7f0264f0f7d8ee5c3b8c56908a6625
>
>Works for us, still not the ideal fix but it fixes this immediate problem.
Compiles OK under VC9 for PHP 5.