Thanks, with enabled opcache works fine.
On 7 February 2015 at 19:35, Christoph Becker wrote:
> Oleg Serov wrote:
>
> > I use !empty() very often and decided to make a benchmark test.
> >
> > Here is the code and results: http://pastebin.com/fMhhdQiW
> >
> > if (!empty(...)) working on 23% slowe
Oleg Serov wrote:
> I use !empty() very often and decided to make a benchmark test.
>
> Here is the code and results: http://pastebin.com/fMhhdQiW
>
> if (!empty(...)) working on 23% slower than if (empty()) expression.
>
> So if create new operator not_empty() it will improve performance.
>
>