3v4l.org

run code in 300+ PHP versions simultaneously
<?php eval(' $closure = function(){ /* This template demonstrates a typical piece of code that will execute normally under the default PHPSandbox configuration */ it(); function it() { echo \'This is it\'; } }; if(method_exists($closure, "bindTo")){ $closure = $closure->bindTo(null); } return $closure();');

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.0090.00922.90
8.3.40.0090.00918.66
8.3.30.0030.01019.08
8.3.20.0050.00320.38
8.3.10.0030.00718.90
8.3.00.0080.00019.51
8.2.180.0120.00316.50
8.2.170.0080.00822.96
8.2.160.0110.00420.39
8.2.150.0040.00424.18
8.2.140.0080.00024.66
8.2.130.0040.00426.16
8.2.120.0050.00520.98
8.2.110.0000.01020.48
8.2.100.0040.00818.22
8.2.90.0040.00419.09
8.2.80.0030.00617.97
8.2.70.0060.00317.75
8.2.60.0040.00417.93
8.2.50.0030.00618.07
8.2.40.0000.00818.09
8.2.30.0030.00619.35
8.2.20.0080.00017.63
8.2.10.0000.00717.94
8.2.00.0040.00417.66
8.1.280.0000.01525.92
8.1.270.0090.00024.02
8.1.260.0040.00426.35
8.1.250.0000.00728.09
8.1.240.0070.00423.92
8.1.230.0070.00419.15
8.1.220.0040.00417.74
8.1.210.0040.00418.77
8.1.200.0030.00617.35
8.1.190.0030.00517.38
8.1.180.0030.00618.10
8.1.170.0030.00618.59
8.1.160.0070.00022.01
8.1.150.0000.00718.94
8.1.140.0040.00417.51
8.1.130.0030.00317.74
8.1.120.0040.00417.48
8.1.110.0040.00417.44
8.1.100.0040.00317.34
8.1.90.0090.00017.49
8.1.80.0070.00017.43
8.1.70.0030.00317.33
8.1.60.0040.00417.65
8.1.50.0000.00817.47
8.1.40.0050.00217.52
8.1.30.0030.00617.55
8.1.20.0040.00417.55
8.1.10.0000.00717.47
8.1.00.0040.00417.39
8.0.300.0070.00018.77
8.0.290.0000.00816.88
8.0.280.0050.00218.44
8.0.270.0030.00317.30
8.0.260.0040.00417.27
8.0.250.0030.00316.99
8.0.240.0040.00717.04
8.0.230.0040.00417.08
8.0.220.0030.00316.86
8.0.210.0000.00716.96
8.0.200.0060.00017.06
8.0.190.0000.00816.91
8.0.180.0070.00017.06
8.0.170.0080.00016.90
8.0.160.0070.00016.85
8.0.150.0040.00416.86
8.0.140.0000.00716.82
8.0.130.0000.00513.39
8.0.120.0050.00316.96
8.0.110.0000.00716.86
8.0.100.0040.00416.90
8.0.90.0000.00716.98
8.0.80.0060.00916.93
8.0.70.0060.00316.75
8.0.60.0050.00316.99
8.0.50.0070.00016.83
8.0.30.0120.00717.22
8.0.20.0140.00817.40
8.0.10.0040.00416.96
8.0.00.0170.00516.78
7.4.330.0050.00015.19
7.4.320.0070.00016.53
7.4.300.0030.00316.51
7.4.290.0070.00016.55
7.4.280.0000.01216.50
7.4.270.0030.00316.50
7.4.260.0030.00516.63
7.4.250.0000.00716.36
7.4.240.0000.00716.49
7.4.230.0000.00716.40
7.4.220.0090.00916.46
7.4.210.0090.00616.44
7.4.200.0040.00416.58
7.4.160.0040.01116.59
7.4.150.0150.00417.40
7.4.140.0050.01517.86
7.4.130.0110.00516.51
7.4.120.0080.00916.57
7.4.110.0080.00816.27
7.4.100.0070.01016.58
7.4.90.0040.01316.64
7.4.80.0150.00419.39
7.4.70.0090.00916.39
7.4.60.0090.01316.61
7.4.50.0000.00516.32
7.4.40.0090.00816.66
7.4.30.0050.01116.29
7.4.00.0030.01414.77
7.3.330.0000.00613.18
7.3.320.0000.00513.34
7.3.310.0030.00316.18
7.3.300.0040.00416.27
7.3.290.0070.00716.36
7.3.280.0050.01116.35
7.3.270.0090.00817.40
7.3.260.0150.00416.57
7.3.250.0060.01316.55
7.3.240.0030.01316.61
7.3.230.0060.01016.47
7.3.210.0180.00316.31
7.3.200.0110.00619.39
7.3.190.0090.00916.43
7.3.180.0060.00916.43
7.3.170.0060.01416.30
7.3.160.0130.00316.50
7.2.330.0140.00316.80
7.2.320.0080.01216.46
7.2.310.0050.01316.69
7.2.300.0060.01216.52
7.2.290.0100.00716.55
7.2.60.0040.01216.95
7.2.00.0100.01319.29
7.1.200.0070.00715.66
7.1.100.0270.00317.30
7.1.70.0030.01017.21
7.1.60.0130.01019.61
7.1.50.0270.01016.91
7.1.00.0030.07722.30
7.0.200.0030.00316.79
7.0.140.0030.07322.00
7.0.60.0100.07319.95
7.0.50.0070.08017.90
7.0.40.0070.09020.18
7.0.30.0270.03720.15
7.0.20.0300.08320.23
7.0.10.0070.06020.09
7.0.00.0000.04720.22
5.6.280.0130.06321.09
5.6.210.0130.07320.62
5.6.200.0070.06718.28
5.6.190.0070.07020.41
5.6.180.0130.05020.63
5.6.170.0230.05020.54
5.6.160.0030.04320.50
5.6.150.0000.05018.28
5.6.140.0000.04318.27
5.6.130.0030.04018.14
5.6.120.0130.04720.98
5.6.110.0070.08321.04
5.6.100.0100.04320.97
5.6.90.0100.03720.95
5.6.80.0100.03720.52
5.5.350.4200.04020.46
5.5.340.0070.04717.97
5.5.330.0000.04320.35
5.5.320.0370.04020.34
5.5.310.0170.04320.30
5.5.300.0070.06017.95
5.5.290.0000.07017.98
5.5.280.0070.04020.86
5.5.270.0070.08020.75
5.5.260.0030.04720.75
5.5.250.0170.06020.79
5.5.240.0130.07720.23
5.4.450.0000.04019.46
5.4.440.0070.03719.59
5.4.430.0000.03719.57
5.4.420.0000.04019.38
5.4.410.0030.03319.17
5.4.400.0030.03719.19
5.4.390.0070.03719.08
5.4.380.0030.03319.31
5.4.370.0000.04018.87
5.4.360.0070.03719.17
5.4.350.0030.06019.15
5.4.340.0030.04018.85
5.4.320.0030.03718.87
5.4.310.0030.03719.06
5.4.300.0030.03319.15
5.4.290.0030.05019.06
5.4.280.0030.04019.31
5.4.270.0000.03719.13
5.4.260.0070.05719.24
5.4.250.0030.04018.94
5.4.240.0030.03718.86
5.4.230.0000.03718.96
5.4.220.0000.04719.21
5.4.210.0000.04018.98
5.4.200.0000.06019.19
5.4.190.0030.03719.12
5.4.180.0000.04019.07
5.4.170.0000.04019.14
5.4.160.0000.04018.95
5.4.150.0130.03719.14
5.4.140.0000.06316.32
5.4.130.0000.03716.28
5.4.120.0030.03716.64
5.4.110.0030.03316.35
5.4.100.0000.07316.48
5.4.90.0000.03716.51
5.4.80.0070.03716.54
5.4.70.0000.04716.44
5.4.60.0030.06316.54
5.4.50.0030.06016.52
5.4.40.0000.03716.42
5.4.30.0030.03316.48
5.4.20.0030.03316.51
5.4.10.0000.03716.34
5.4.00.0000.03715.81

preferences:
46.07 ms | 401 KiB | 5 Q