3v4l.org

run code in 300+ PHP versions simultaneously
<?php $arr = array(''); echo (empty($arr))

Here you find the average performance (time & memory) of each version. A grayed out version indicates it didn't complete successfully (based on exit-code).

VersionSystem time (s)User time (s)Memory (MiB)
5.4.40.0140.04611.94
5.4.30.0190.05711.94
5.4.20.0210.04211.93
5.4.10.0200.04411.94
5.4.00.0190.04411.42
5.3.140.0180.04512.66
5.3.130.0160.04612.66
5.3.120.0280.06712.66
5.3.110.0210.04212.66
5.3.100.0170.04712.12
5.3.90.0200.04712.08
5.3.80.0180.04912.08
5.3.70.0200.04512.07
5.3.60.0210.04512.06
5.3.50.0180.04512.00
5.3.40.0200.04412.00
5.3.30.0170.04411.95
5.3.20.0180.04211.73
5.3.10.0170.04411.68
5.3.00.0180.04311.67

preferences:
140.52 ms | 1394 KiB | 7 Q