Comparator.php
time execution: 0.0056660175323486
memory usage: 2097152
ComparatorFunction.php
time execution: 0.014033079147339
memory usage: 2097152
$ php -v
PHP 7.0.30 (cli) (built: Apr 26 2018 13:29:58) ( NTS )
Copyright (c) 1997-2017 The PHP Group
Zend Engine v3.0.0, Copyright (c) 1998-2017 Zend Technologies
with Xdebug v2.6.0, Copyright (c) 2002-2018, by Derick Rethans