profileinfo: Suppress frivolous warning about usort callback
authorTimo Tijhof <krinklemail@gmail.com>
Wed, 18 Nov 2015 01:24:20 +0000 (01:24 +0000)
committerTimo Tijhof <krinklemail@gmail.com>
Wed, 18 Nov 2015 01:30:09 +0000 (01:30 +0000)
commit6b5dcf87183a75b3216928bba1be09e6014c3047
tree78e053bcca4b410c4fb07c26536595d6c62e0416
parentf7d2675e3954918cd29dfc87a3929afcd297a454
profileinfo: Suppress frivolous warning about usort callback

When sorting the profile output by a column (e.g. ms/call) the
following error appears:

> PHP Warning:
> usort(): Array was modified by the user comparison function at profileinfo.php:439

This is a known bug in PHP where usage of certain debug features
can cause usort() to detect reference count change and wrongly
claim that the object was changed.

Change-Id: I89ec0149aae46f51de647cdf6c6d645c45cbc185
profileinfo.php