3v4l.org

run code in 300+ PHP versions simultaneously
<?php assert_options( ASSERT_ACTIVE, 0 ) ; $things = "thing"; $here = "here"; assert( (function() use($things, $here) { /* statements here */ return false; })(), new RuntimeException("nope!")); ?>

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.0110.01116.86
8.3.50.0070.00716.13
8.3.40.0120.00318.78
8.3.30.0120.00418.84
8.3.20.0090.00620.21
8.3.10.0040.00423.53
8.3.00.0000.00819.79
8.2.180.0040.01116.38
8.2.170.0120.00322.96
8.2.160.0160.00420.38
8.2.150.0040.00424.18
8.2.140.0090.00624.66
8.2.130.0080.00026.16
8.2.120.0080.00320.94
8.2.110.0040.00420.39
8.2.100.0090.00317.63
8.2.90.0000.00819.11
8.2.80.0050.00317.97
8.2.70.0030.00617.63
8.2.60.0030.00617.93
8.2.50.0030.00518.07
8.2.40.0080.00020.96
8.2.30.0040.00418.15
8.2.20.0070.00017.73
8.2.10.0040.00417.98
8.2.00.0040.00418.07
8.1.280.0120.00825.92
8.1.270.0040.00420.43
8.1.260.0000.00826.35
8.1.250.0040.00428.09
8.1.240.0040.00422.11
8.1.230.0080.00417.42
8.1.220.0000.00817.74
8.1.210.0080.00018.77
8.1.200.0000.01117.36
8.1.190.0040.00417.35
8.1.180.0000.00718.10
8.1.170.0040.00418.65
8.1.160.0070.00022.02
8.1.150.0000.00818.96
8.1.140.0060.00317.46
8.1.130.0030.00317.70
8.1.120.0070.00017.48
8.1.110.0040.00417.42
8.1.100.0000.00817.35
8.1.90.0070.00017.34
8.1.80.0000.00817.48
8.1.70.0000.00717.34
8.1.60.0060.00617.54
8.1.50.0040.00417.46
8.1.40.0070.00417.39
8.1.30.0060.00317.62
8.1.20.0080.00017.50
8.1.10.0100.00017.41
8.1.00.0040.00417.40
8.0.300.0000.00718.77
8.0.290.0070.00016.75
8.0.280.0030.00318.48
8.0.270.0000.00717.13
8.0.260.0070.00017.29
8.0.250.0040.00416.96
8.0.240.0030.00316.88
8.0.230.0030.00316.86
8.0.220.0030.00316.85
8.0.210.0000.00716.89
8.0.200.0000.00616.94
8.0.190.0040.00416.97
8.0.180.0040.00416.97
8.0.170.0000.00716.84
8.0.160.0030.00316.97
8.0.150.0030.00316.73
8.0.140.0050.00316.81
8.0.130.0060.00013.34
8.0.120.0000.00716.75
8.0.110.0050.00216.86
8.0.100.0050.00216.86
8.0.90.0000.00716.76
8.0.80.0060.00916.93
8.0.70.0040.00416.74
8.0.60.0000.00716.76
8.0.50.0040.00416.75
8.0.30.0100.00816.92
8.0.20.0050.01317.40
8.0.10.0040.00416.97
8.0.00.0080.00916.83
7.4.330.0030.00315.08
7.4.320.0030.00316.51
7.4.300.0030.00316.52
7.4.290.0030.00716.50
7.4.280.0040.00416.58
7.4.270.0030.00316.43
7.4.260.0040.00716.42
7.4.250.0040.00416.46
7.4.240.0000.00716.51
7.4.230.0030.00316.70
7.4.220.0180.00716.63
7.4.210.0130.00316.55
7.4.200.0000.00716.67
7.4.160.0100.01316.49
7.4.150.0030.01417.40
7.4.140.0130.01217.86
7.4.130.0150.00616.38
7.4.120.0070.00916.56
7.4.110.0090.00916.63
7.4.100.0120.00616.52
7.4.90.0120.00616.54
7.4.80.0110.00919.39
7.4.70.0090.00916.34
7.4.60.0060.00916.65
7.4.50.0040.00416.22
7.4.40.0110.01016.46
7.4.30.0150.00316.44
7.4.00.0050.01214.90
7.3.330.0030.00313.30
7.3.320.0030.00313.13
7.3.310.0030.00316.34
7.3.300.0070.00016.30
7.3.290.0090.01016.23
7.3.280.0110.00716.29
7.3.270.0070.01017.40
7.3.260.0140.00316.42
7.3.250.0110.00616.40
7.3.240.0090.00916.29
7.3.230.0070.01016.39
7.3.210.0100.00616.29
7.3.200.0060.01016.22
7.3.190.0060.01116.55
7.3.180.0130.00716.26
7.3.170.0070.01016.27
7.3.160.0070.01016.32
7.3.120.0080.01115.05
7.3.110.0070.01014.82
7.3.100.0030.00914.76
7.3.90.0000.01514.61
7.3.80.0100.00615.04
7.3.70.0040.00814.52
7.3.60.0100.00714.85
7.3.50.0120.00314.54
7.3.40.0070.00714.71
7.3.30.0110.00314.93
7.3.20.0000.01216.21
7.3.10.0000.01216.36
7.3.00.0100.00716.78
7.2.330.0060.01316.57
7.2.320.0140.00716.27
7.2.310.0060.01216.61
7.2.300.0060.01216.37
7.2.290.0170.00016.54
7.2.250.0040.01515.07
7.2.240.0030.01315.14
7.2.230.0040.01115.13
7.2.220.0080.00914.83
7.2.210.0030.01314.84
7.2.200.0080.00414.78
7.2.190.0120.00315.11
7.2.180.0060.01214.58
7.2.170.0110.00415.01
7.2.60.0070.00716.86
7.2.00.0160.00319.35
7.1.330.0030.01015.39
7.1.320.0070.01015.71
7.1.310.0030.01315.52
7.1.300.0080.00815.70
7.1.290.0100.00615.53
7.1.280.0090.00615.68
7.1.270.0080.00415.94
7.1.260.0060.00815.72
7.1.200.0090.00315.48
7.1.100.0030.00818.16
7.1.70.0030.00517.02
7.1.60.0170.00719.17
7.1.50.0240.01034.50
7.1.00.0070.07322.43
7.0.200.0070.00016.74
7.0.60.0130.07019.85
7.0.50.0130.07317.88
7.0.40.0230.07320.09
7.0.30.0070.05020.21
7.0.20.0270.05720.10
7.0.10.0030.06020.16
7.0.00.0070.08020.23
5.6.280.0030.06720.82
5.6.210.0070.04020.47
5.6.200.0100.07318.19
5.6.190.0200.04720.55
5.6.180.0030.08320.64
5.6.170.0270.07320.62
5.6.160.0130.08320.54
5.6.150.0030.06718.25
5.6.140.0000.04318.28
5.6.130.0070.07718.15
5.6.120.0070.08321.10
5.6.110.0100.03720.99
5.6.100.0100.08020.96
5.6.90.0070.07321.00
5.6.80.0030.07720.41
5.5.350.0030.08320.46
5.5.340.0170.07717.98
5.5.330.0170.05320.41
5.5.320.0100.03720.27
5.5.310.0300.07320.41
5.5.300.0070.07018.05
5.5.290.0100.07717.95
5.5.280.0170.04720.85
5.5.270.0070.04320.80
5.5.260.0070.08720.80
5.5.250.0130.06720.61
5.5.240.0070.03020.27
5.4.450.0200.07019.19
5.4.440.0400.04319.61
5.4.430.0130.07019.20
5.4.420.0330.04319.44
5.4.410.0270.05319.45
5.4.400.0230.05019.23
5.4.390.0300.04719.06
5.4.380.0300.04719.27
5.4.370.0270.05319.05
5.4.360.0100.06718.87
5.4.350.0200.05318.87
5.4.340.0270.05318.84
5.4.320.0230.05319.38
5.4.310.0370.06019.25
5.4.300.0230.05319.15
5.4.290.0170.05719.14
5.4.280.0370.04319.26
5.4.270.0230.05719.23
5.4.260.0270.05319.13
5.4.250.0230.05318.97
5.4.240.0270.05019.14
5.4.230.0200.05719.05
5.4.220.0300.05319.25
5.4.210.0270.05019.36
5.4.200.0270.05319.14
5.4.190.0230.05719.06
5.4.180.0300.05019.13
5.4.170.0300.05019.00
5.4.160.0330.05019.13
5.4.150.0230.06019.23
5.4.140.0270.05316.38
5.4.130.0170.05316.25
5.4.120.0200.05016.49
5.4.110.0300.05316.21
5.4.100.0370.04016.41
5.4.90.0230.05016.57
5.4.80.0300.04716.49
5.4.70.0230.03716.53
5.4.60.0300.05316.52
5.4.50.0070.05016.16
5.4.40.0030.03716.52
5.4.30.0130.05716.43
5.4.20.0030.03316.52

preferences:
60.17 ms | 400 KiB | 5 Q