3v4l.org

run code in 300+ PHP versions simultaneously
<?php // Everything you enter here will be executed by our servers. Try it! $test = "This is a string!"; print_r((array) $test);

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.50
8.3.50.0130.01017.38
8.3.40.0070.01418.61
8.3.30.0030.01018.45
8.3.20.0000.00818.35
8.3.10.0050.00320.39
8.3.00.0040.00419.26
8.2.180.0150.00618.29
8.2.170.0060.00922.96
8.2.160.0140.00321.02
8.2.150.0080.00024.18
8.2.140.0000.00824.66
8.2.130.0000.00726.16
8.2.120.0040.00419.23
8.2.110.0030.00719.38
8.2.100.0070.00717.54
8.2.90.0080.00418.97
8.2.80.0100.00017.97
8.2.70.0000.00817.63
8.2.60.0040.00417.50
8.2.50.0030.00517.63
8.2.40.0040.00418.09
8.2.30.0040.00418.04
8.2.20.0040.00417.45
8.2.10.0000.00717.60
8.2.00.0030.00517.60
8.1.280.0030.01025.92
8.1.270.0040.00424.66
8.1.260.0060.00326.35
8.1.250.0040.00428.09
8.1.240.0000.00924.05
8.1.230.0120.00017.64
8.1.220.0080.00017.74
8.1.210.0030.00518.77
8.1.200.0050.00317.35
8.1.190.0090.00017.11
8.1.180.0060.00318.10
8.1.170.0000.00718.76
8.1.160.0070.00018.85
8.1.150.0000.00718.55
8.1.140.0070.00017.28
8.1.130.0030.00317.74
8.1.120.0050.00317.43
8.1.110.0000.00717.32
8.1.100.0070.00017.41
8.1.90.0030.00317.43
8.1.80.0050.00217.30
8.1.70.0000.00717.41
8.1.60.0050.00317.49
8.1.50.0000.00817.42
8.1.40.0070.00017.50
8.1.30.0040.00417.64
8.1.20.0050.00317.59
8.1.10.0040.00417.44
8.1.00.0030.00517.24
8.0.300.0000.00818.77
8.0.290.0050.00316.63
8.0.280.0070.00018.41
8.0.270.0000.00717.14
8.0.260.0080.00016.65
8.0.250.0000.00816.86
8.0.240.0050.00316.79
8.0.230.0070.00016.74
8.0.220.0000.00716.81
8.0.210.0000.00716.84
8.0.200.0050.00316.73
8.0.190.0040.00416.92
8.0.180.0000.00716.80
8.0.170.0040.00416.79
8.0.160.0000.00816.86
8.0.150.0030.00516.82
8.0.140.0030.00716.79
8.0.130.0050.00013.25
8.0.120.0070.00016.65
8.0.110.0000.00716.64
8.0.100.0040.00416.86
8.0.90.0020.00516.80
8.0.80.0120.00316.74
8.0.70.0000.00716.68
8.0.60.0070.00016.71
8.0.50.0050.00316.84
8.0.30.0070.01217.10
8.0.20.0150.00717.02
8.0.10.0040.00416.81
8.0.00.0140.00616.66
7.4.330.0000.00513.00
7.4.320.0030.00316.41
7.4.300.0000.00716.50
7.4.290.0070.00016.54
7.4.280.0030.00516.62
7.4.270.0030.00516.56
7.4.260.0000.00513.28
7.4.250.0040.00416.52
7.4.240.0030.00316.58
7.4.230.0000.00716.49
7.4.220.0130.01316.57
7.4.210.0040.01116.51
7.4.200.0070.00016.61
7.4.190.0030.00316.63
7.4.160.0130.00316.30
7.4.150.0140.00316.32
7.4.140.0120.00816.35
7.4.130.0080.00816.44
7.4.120.0140.00316.47
7.4.110.0100.00716.47
7.4.100.0070.01616.25
7.4.90.0160.00816.50
7.4.80.0060.01516.43
7.4.70.0060.01516.35
7.4.60.0130.01116.30
7.4.50.0000.00816.39
7.4.40.0070.00716.36
7.4.30.0140.00716.49
7.4.00.0090.00614.57
7.3.330.0030.00313.15
7.3.320.0000.00512.98
7.3.310.0040.00416.04
7.3.300.0000.00716.23
7.3.290.0070.00716.30
7.3.280.0070.00916.20
7.3.270.0070.01016.23
7.3.260.0120.00616.34
7.3.250.0090.00916.29
7.3.240.0110.01116.38
7.3.230.0100.00716.24
7.3.210.0170.00616.21
7.3.200.0050.01119.39
7.3.190.0090.01216.50
7.3.180.0120.00416.49
7.3.170.0100.00716.36
7.3.160.0090.00616.13
7.3.120.0090.00614.64
7.2.330.0160.00816.40
7.2.320.0060.01416.54
7.2.310.0090.00916.29
7.2.300.0110.00716.26
7.2.290.0140.00616.31
7.2.60.0170.00816.34
7.2.00.0030.00919.37
7.1.200.0220.00015.64
7.1.100.0090.00318.06
7.1.70.0040.00417.04
7.1.60.0200.00319.40
7.1.50.0060.01616.89
7.1.00.0030.07322.29
7.0.200.0350.00714.32
7.0.140.0130.06021.95
7.0.120.0030.07022.05
7.0.60.0230.06721.73
7.0.50.0170.07017.84
7.0.40.0030.07320.18
7.0.30.0270.05720.12
7.0.20.0270.05720.16
7.0.10.0070.05020.33
7.0.00.0030.04020.14
5.6.280.0030.07321.01
5.6.210.0070.07320.71
5.6.200.0130.08018.14
5.6.190.0070.05320.39
5.6.180.0300.06020.51
5.6.170.0300.07020.39
5.6.160.0100.03320.54
5.6.150.0100.08018.12
5.6.140.0170.07018.18
5.6.130.0170.07718.18
5.6.120.0030.04021.05
5.6.110.0070.06020.98
5.6.100.0030.06021.03
5.6.90.0070.08720.95
5.6.80.0170.05720.37
5.5.350.3630.05020.42
5.5.340.0000.05017.99
5.5.330.0100.05320.37
5.5.320.0230.07720.26
5.5.310.0400.05020.46
5.5.300.0100.06717.98
5.5.290.0030.06318.07
5.5.280.0070.07720.79
5.5.270.0130.06720.75
5.5.260.0170.07320.78
5.5.250.0000.04320.77
5.5.240.0200.07720.11
5.4.450.0030.05019.57
5.4.440.0070.07719.30
5.4.430.0030.07719.19
5.4.420.0100.04319.52
5.4.410.0200.04019.44
5.4.400.0070.07718.85
5.4.390.0030.05018.87
5.4.380.0130.05718.89
5.4.370.0100.04319.24
5.4.360.0030.06318.85
5.4.350.0170.07019.12
5.4.340.0100.06318.85
5.4.320.0130.05319.24
5.4.310.0100.04718.85
5.4.300.0030.04319.11
5.4.290.0130.05019.24
5.4.280.0030.04019.14
5.4.270.0100.07319.23
5.4.260.0070.07318.98
5.4.250.0070.07319.15
5.4.240.0070.04718.84
5.4.230.0070.07718.84
5.4.220.0100.07318.85
5.4.210.0070.04019.20
5.4.200.0070.03718.84
5.4.190.0030.04718.84
5.4.180.0100.04019.23
5.4.170.0030.04018.95
5.4.160.0000.05319.05
5.4.150.0070.04318.90
5.4.140.0100.07716.35
5.4.130.0030.07316.32
5.4.120.0170.06716.42
5.4.110.0130.05016.34
5.4.100.0100.03716.43
5.4.90.0100.04316.68
5.4.80.0100.07316.37
5.4.70.0100.03016.28
5.4.60.0070.05716.37
5.4.50.0170.06316.46
5.4.40.0100.07016.46
5.4.30.0100.06716.44
5.4.20.0100.04016.38
5.4.10.0000.07716.39
5.4.00.0070.04715.82
5.3.290.0070.06014.67
5.3.280.0170.06714.61
5.3.270.0030.04714.63
5.3.260.0000.04314.65
5.3.250.0030.07014.61
5.3.240.0030.07714.59
5.3.230.0030.07014.58
5.3.220.0100.03314.72
5.3.210.0000.04314.48
5.3.200.0000.04714.55
5.3.190.0000.04014.63
5.3.180.0200.05014.47
5.3.170.0100.06714.57
5.3.160.0070.05014.47
5.3.150.0000.07014.58
5.3.140.0030.07314.59
5.3.130.0070.07314.55
5.3.120.0130.06014.54
5.3.110.0200.06014.42
5.3.100.0030.04314.03
5.3.90.0030.03714.17
5.3.80.0000.04013.90
5.3.70.0000.06014.04
5.3.60.0030.04314.00
5.3.50.0000.04014.01
5.3.40.0070.06313.98
5.3.30.0000.07013.84
5.3.20.0100.04013.69
5.3.10.0070.06713.64
5.3.00.0030.03713.77
5.2.170.0070.04711.28
5.2.160.0070.04011.02
5.2.150.0070.06311.03
5.2.140.0130.05311.15
5.2.130.0030.04711.25
5.2.120.0070.04711.25
5.2.110.0000.03310.99
5.2.100.0030.06311.11
5.2.90.0200.05011.06
5.2.80.0070.04011.14
5.2.70.0130.05311.14
5.2.60.0070.05711.18
5.2.50.0000.06710.96
5.2.40.0000.04310.98
5.2.30.0100.04711.12
5.2.20.0070.04010.91
5.2.10.0070.05711.01
5.2.00.0070.05310.66
5.1.60.0170.0439.96
5.1.50.0070.0579.89
5.1.40.0030.0279.97
5.1.30.0000.05310.34
5.1.20.0100.05010.30
5.1.10.0030.05710.14
5.1.00.0070.05010.07
5.0.50.0000.0308.57
5.0.40.0000.0378.38
5.0.30.0000.0478.20
5.0.20.0130.0238.24
5.0.10.0030.0308.16
5.0.00.0100.0538.05
4.4.90.0000.0207.77
4.4.80.0000.0407.77
4.4.70.0030.0207.77
4.4.60.0030.0337.77
4.4.50.0030.0277.77
4.4.40.0000.0377.77
4.4.30.0000.0207.77
4.4.20.0000.0407.77
4.4.10.0070.0177.77
4.4.00.0070.0507.77
4.3.110.0000.0277.77
4.3.100.0000.0207.77
4.3.90.0030.0277.77
4.3.80.0000.0577.77
4.3.70.0030.0377.77
4.3.60.0030.0337.77
4.3.50.0000.0307.77
4.3.40.0030.0537.77
4.3.30.0000.0277.77
4.3.20.0070.0307.77
4.3.10.0000.0377.77
4.3.00.0000.0237.77

preferences:
51.11 ms | 401 KiB | 5 Q