3v4l.org

run code in 300+ PHP versions simultaneously
<?php $var = ''; if (isset($var))) echo 'La variable $var existe'; if (!empty($var)) echo 'La variable $var n\'est pas vide'; else echo 'La variable $var est vide';

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.100.0150.04411.98
5.4.90.0210.06111.98
5.4.80.0160.04211.98
5.4.70.0160.04811.98
5.4.60.0160.04011.98
5.4.50.0110.04411.98
5.4.40.0250.05211.96
5.4.30.0160.04111.96
5.4.20.0160.05011.96
5.4.10.0180.04611.96
5.4.00.0130.04111.46
5.3.200.0190.05312.68
5.3.190.0140.04712.68
5.3.180.0150.04312.67
5.3.170.0240.05412.67
5.3.160.0140.04412.67
5.3.150.0160.04412.67
5.3.140.0210.05612.66
5.3.130.0140.04312.66
5.3.120.0210.05112.66
5.3.110.0200.05412.66
5.3.100.0200.05712.12
5.3.90.0150.04012.08
5.3.80.0230.05412.08
5.3.70.0130.04412.08
5.3.60.0120.04612.06
5.3.50.0180.06112.00
5.3.40.0170.05012.00
5.3.30.0160.03911.94
5.3.20.0240.05111.72
5.3.10.0130.05011.68
5.3.00.0130.04011.66

preferences:
137.34 ms | 1394 KiB | 7 Q