3v4l.org

run code in 300+ PHP versions simultaneously
<?php $joomlaRelease = '5.3'; // Check for each major version branch, default to 3.x as the oldest version supported by the client is Joomla 3.2 if (version_compare($joomlaRelease, '6.0', '>=')) { echo "60"; } if (version_compare($joomlaRelease, '5.0', '>=')) { echo "50"; } if (version_compare($joomlaRelease, '4.0', '>=')) { echo "40"; } else { echo "30"; }

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)
8.4.130.0370.01017.03
8.4.120.0400.01017.58
8.4.110.0370.01017.66
8.4.100.0410.01217.71
8.4.90.0330.00817.72
8.4.80.0370.00917.39
8.4.70.0450.00917.60
8.4.60.0400.00817.72
8.4.50.0320.00917.46
8.4.40.0300.00817.35
8.4.30.0210.00617.40
8.4.20.0350.00817.61
8.4.10.0260.00517.70
8.3.260.0270.00516.49
8.3.250.0290.00716.35
8.3.240.0200.00616.24
8.3.230.0200.00416.50
8.3.220.0280.00716.22
8.3.210.0320.00616.24
8.3.200.0270.00616.35
8.3.190.0230.00816.39
8.3.180.0220.00416.48
8.3.170.0210.00216.25
8.3.160.0310.00616.35
8.3.150.0220.00416.52
8.3.140.0180.00616.48
8.3.130.0230.00716.28
8.3.120.0170.00616.35
8.3.110.0240.00416.40
8.3.100.0220.00616.33
8.3.90.0320.00716.16
8.3.80.0420.00716.09
8.3.70.0280.00816.14
8.3.60.0320.00416.42
8.3.50.0350.00516.40
8.3.40.0390.01017.23
8.3.30.0350.00717.36
8.3.20.0330.00817.23
8.3.10.0320.00917.46
8.3.00.0300.00917.39
8.2.290.0360.00716.49
8.2.280.0290.00716.60
8.2.270.0350.00716.45
8.2.260.0310.01116.55
8.2.250.0340.00616.47
8.2.240.0260.00716.52
8.2.230.0210.00416.43
8.2.220.0240.00716.30
8.2.210.0280.00816.07
8.2.200.0280.00616.29
8.2.190.0230.00316.28
8.2.180.0290.00716.38
8.2.170.0270.00717.60
8.2.160.0280.00817.55
8.2.150.0310.00417.42
8.2.140.0250.00617.43
8.2.130.0310.00717.43
8.2.120.0260.00717.54
8.2.110.0240.00717.52
8.2.100.0300.00617.65
8.2.90.0310.00817.46
8.2.80.0390.00817.41
8.2.70.0380.00817.45
8.2.60.0350.00817.49
8.2.50.0350.01117.52
8.2.40.0340.00617.59
8.2.30.0240.00817.44
8.2.20.0230.00717.50
8.2.10.0300.01117.41
8.2.00.0340.00817.21

preferences:
27.54 ms | 403 KiB | 5 Q