3v4l.org

run code in 300+ PHP versions simultaneously
<?php $action = empty($_POST['action']) ? 'default' : $_POST['action'];

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.3.60.0070.00716.75
8.3.50.0140.00416.47
8.3.40.0120.00920.21
8.3.30.0110.01118.79
8.3.20.0080.00024.18
8.3.10.0050.00324.66
8.3.00.0030.00526.16
8.2.180.0150.00816.38
8.2.170.0070.00719.09
8.2.160.0030.01422.96
8.2.150.0100.00725.66
8.2.140.0040.00424.66
8.2.130.0110.00726.16
8.2.120.0040.00421.13
8.2.110.0060.00619.38
8.2.100.0080.00317.72
8.2.90.0000.00917.84
8.2.80.0050.00319.29
8.2.70.0040.00418.03
8.2.60.0110.00117.60
8.2.50.0100.00617.90
8.2.40.0110.00417.93
8.2.30.0090.00717.97
8.2.20.0100.00617.87
8.2.10.0100.00617.80
8.2.00.0130.00317.95
8.1.280.0120.00325.92
8.1.270.0050.00521.78
8.1.260.0100.00728.09
8.1.250.0080.00328.09
8.1.240.0080.00022.09
8.1.230.0070.00420.89
8.1.220.0030.00617.79
8.1.210.0040.00418.77
8.1.200.0000.00917.48
8.1.190.0110.00217.11
8.1.180.0130.00217.69
8.1.170.0130.00517.76
8.1.160.0080.00817.74
8.1.150.0110.00617.77
8.1.140.0130.00317.73
8.1.130.0120.00517.84
8.1.120.0130.00417.81
8.1.110.0120.00517.79
8.1.100.0120.00417.79
8.1.90.0130.00417.79
8.1.80.0100.00717.82
8.1.70.0090.00717.81
8.1.60.0090.00917.81
8.1.50.0150.00317.85
8.1.40.0110.00717.83
8.1.30.0150.00317.83
8.1.20.0120.00717.86
8.1.10.0130.00517.79
8.1.00.0150.00417.75
8.0.300.0040.00420.07
8.0.290.0090.00016.75
8.0.280.0130.00417.54
8.0.270.0130.00317.60
8.0.260.0130.00417.53
8.0.250.0120.00417.55
8.0.240.0110.00517.62
8.0.230.0120.00517.55
8.0.220.0110.00517.49
8.0.210.0110.00517.51
8.0.200.0120.00517.52
8.0.190.0140.00417.55
8.0.180.0130.00417.52
8.0.170.0110.00417.50
8.0.160.0120.00517.56
8.0.150.0120.00517.51
8.0.140.0120.00517.51
8.0.130.0100.00617.52
8.0.120.0140.00317.52
8.0.110.0120.00417.56
8.0.100.0120.00417.54
8.0.90.0090.00617.49
8.0.80.0120.00417.54
8.0.70.0120.00317.49
8.0.60.0100.00617.58
8.0.50.0120.00317.53
8.0.30.0080.00717.53
8.0.20.0140.00217.49
8.0.10.0070.00817.59

preferences:
30 ms | 400 KiB | 5 Q