3v4l.org

run code in 300+ PHP versions simultaneously
<?php for ( $totaltime = 0; $totaltime < 11; $totaltime += 0.5 ) { switch ( true ) { case ( $totaltime < 1 ): echo $totaltime . " That was fast!\n"; break; case ( $totaltime < 10 ): echo $totaltime . " Not fast!\n"; break; default: echo $totaltime . " That's slooooow\n"; break; } }

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.10.0000.00919.55
8.3.140.0170.00316.54
8.3.130.0040.00418.50
8.3.120.0080.00018.96
8.3.110.0040.00416.45
8.3.100.0000.00816.45
8.3.90.0040.00426.77
8.3.80.0080.00316.50
8.3.70.0040.01216.63
8.3.60.0040.01518.14
8.3.50.0120.00717.32
8.3.40.0120.00318.72
8.3.30.0110.00418.84
8.3.20.0000.00820.34
8.3.10.0040.00421.72
8.3.00.0070.00723.53
8.2.260.0040.01118.61
8.2.250.0070.00716.50
8.2.240.0060.00318.95
8.2.230.0000.00720.94
8.2.220.0000.01024.06
8.2.210.0070.01126.77
8.2.200.0060.00316.63
8.2.190.0120.00916.63
8.2.180.0100.01016.32
8.2.170.0000.01522.96
8.2.160.0110.00720.51
8.2.150.0120.00325.66
8.2.140.0050.00324.66
8.2.130.0000.00826.16
8.2.120.0110.00321.09
8.2.110.0060.00321.12
8.2.100.0110.00017.91
8.2.90.0060.00818.87
8.2.80.0080.00017.97
8.2.70.0050.00317.63
8.2.60.0040.00417.93
8.2.50.0000.00718.16
8.2.40.0080.00020.65
8.2.30.0040.00419.38
8.2.20.0040.00418.00
8.2.10.0070.00018.08
8.2.00.0040.00418.00
8.1.300.0090.00318.59
8.1.290.0060.00330.84
8.1.280.0180.00325.92
8.1.270.0080.00022.19
8.1.260.0000.01426.35
8.1.250.0060.00328.09
8.1.240.0040.00419.07
8.1.230.0080.00417.83
8.1.220.0000.00817.74
8.1.210.0050.00318.77
8.1.200.0030.00617.35
8.1.190.0060.00317.11
8.1.180.0000.00718.10
8.1.170.0000.00818.50
8.1.160.0070.00018.84
8.1.150.0070.00018.77
8.1.140.0040.00419.08
8.1.130.0070.00018.75
8.1.120.0050.00517.43
8.1.110.0030.00317.32
8.1.100.0000.00717.39
8.1.90.0040.00417.29
8.1.80.0030.00617.41
8.1.70.0000.00717.30
8.1.60.0050.00317.51
8.1.50.0030.00517.36
8.1.40.0080.00017.46
8.1.30.0040.00417.53
8.1.20.0000.00817.62
8.1.10.0000.00717.42
8.1.00.0080.00017.48
8.0.300.0040.00418.77
8.0.290.0000.00716.75
8.0.280.0070.00018.46
8.0.270.0030.00617.18
8.0.260.0040.00416.70
8.0.250.0030.00316.93
8.0.240.0060.00316.97
8.0.230.0000.00716.85
8.0.220.0070.00016.86
8.0.210.0030.00316.81
8.0.200.0000.00617.02
8.0.190.0030.00516.86
8.0.180.0040.00416.93
8.0.170.0040.00416.80
8.0.160.0000.00817.00
8.0.150.0040.00416.75
8.0.140.0070.00016.88
8.0.130.0000.00513.25
8.0.120.0040.00416.81
8.0.110.0000.00716.85
8.0.100.0000.00716.88
8.0.90.0000.00716.84
8.0.80.0090.00616.85
8.0.70.0040.00416.77
8.0.60.0040.00416.87
8.0.50.0000.00716.76
8.0.30.0060.01417.24
8.0.20.0110.00917.40
8.0.10.0040.00416.96
8.0.00.0150.00316.95
7.4.330.0000.00515.55
7.4.320.0000.00716.39
7.4.300.0060.00016.45
7.4.290.0030.00316.46
7.4.280.0060.00316.43
7.4.270.0000.00616.38
7.4.260.0000.00716.45
7.4.250.0040.00416.46
7.4.240.0030.00516.48
7.4.230.0000.00716.63
7.4.220.0110.01116.60
7.4.210.0130.00616.39
7.4.200.0040.00416.62
7.4.160.0080.01216.31
7.4.150.0140.00417.40
7.4.140.0100.00917.86
7.4.130.0100.01316.41
7.4.120.0120.00816.44
7.4.110.0030.01416.57
7.4.100.0040.01216.39
7.4.90.0170.00016.59
7.4.80.0090.01219.39
7.4.70.0140.00516.37
7.4.60.0030.01316.44
7.4.50.0070.01116.24
7.4.40.0130.00316.55
7.4.30.0130.00316.21
7.4.00.0100.00314.79
7.3.330.0070.00013.13
7.3.320.0030.00313.12
7.3.310.0080.00016.21
7.3.300.0030.00316.05
7.3.290.0050.00316.19
7.3.280.0090.00716.19
7.3.270.0080.00817.40
7.3.260.0120.00716.40
7.3.250.0130.00616.43
7.3.240.0150.00516.36
7.3.230.0070.01016.41
7.3.210.0090.00916.58
7.3.200.0100.01116.33
7.3.190.0090.01216.49
7.3.180.0030.01316.33
7.3.170.0090.00816.36
7.3.160.0120.00316.46
7.3.10.0070.00716.50
7.3.00.0000.00816.59
7.2.330.0110.00716.71
7.2.320.0130.00616.59
7.2.310.0150.00416.82
7.2.300.0100.00716.33
7.2.290.0040.01316.43
7.2.130.0080.01116.55
7.2.120.0170.00316.74
7.2.110.0120.00616.67
7.2.100.0100.00716.72
7.2.90.0090.00616.70
7.2.80.0100.00316.71
7.2.70.0100.00016.94
7.2.60.0070.00716.67
7.2.50.0030.01016.36
7.2.40.0120.00916.63
7.2.30.0080.01216.82
7.2.20.0030.01616.91
7.2.10.0090.00316.73
7.2.00.0110.01018.20
7.1.250.0030.00915.46
7.1.200.0110.00715.66
7.1.120.0060.01518.82
7.1.110.0030.01617.95
7.1.100.0070.01018.00
7.1.90.0070.00718.02
7.1.80.0120.00318.05
7.1.70.0070.00716.89
7.1.60.0150.01534.96
7.1.50.0270.00734.52
7.1.40.0270.01334.37
7.1.30.0180.02434.45
7.1.20.0200.02334.35
7.1.10.0090.01116.24
7.1.00.0120.00616.54

preferences:
36.12 ms | 403 KiB | 5 Q