3v4l.org

run code in 300+ PHP versions simultaneously
<?php $this -> surname = "brant"; $this -> firstname = "wong"; $middle = "Big"; echo $middle; ?>

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.40.0110.00418.88
8.3.30.0070.00719.04
8.3.20.0000.00720.20
8.3.10.0040.00421.77
8.3.00.0080.00018.04
8.2.170.0100.01022.96
8.2.160.0090.00920.38
8.2.150.0040.00424.18
8.2.140.0070.00024.66
8.2.130.0100.00326.16
8.2.120.0030.00520.99
8.2.110.0070.01422.27
8.2.100.0080.00417.72
8.2.90.0040.00417.91
8.2.80.0080.00017.97
8.2.70.0030.00617.38
8.2.60.0060.00317.92
8.2.50.0040.00418.07
8.2.40.0040.00418.16
8.2.30.0040.00417.96
8.2.20.0000.00817.61
8.2.10.0050.00218.00
8.2.00.0080.00017.73
8.1.270.0100.00023.99
8.1.260.0070.00026.35
8.1.250.0000.00828.09
8.1.240.0060.00322.31
8.1.230.0040.00822.53
8.1.220.0050.00317.74
8.1.210.0040.00418.84
8.1.200.0030.00617.35
8.1.190.0030.00617.22
8.1.180.0000.00818.10
8.1.170.0040.00418.55
8.1.160.0030.00621.95
8.1.150.0040.00418.75
8.1.140.0000.00717.30
8.1.130.0000.00717.82
8.1.120.0050.00317.31
8.1.110.0000.00817.22
8.1.100.0040.00417.39
8.1.90.0070.00317.41
8.1.80.0050.00317.39
8.1.70.0030.00517.24
8.1.60.0040.00417.42
8.1.50.0040.00417.48
8.1.40.0030.00617.41
8.1.30.0000.00917.59
8.1.20.0000.00817.62
8.1.10.0040.00417.38
8.1.00.0000.00717.50
8.0.300.0040.00419.91
8.0.290.0040.00416.63
8.0.280.0070.00018.35
8.0.270.0000.00717.17
8.0.260.0030.00317.20
8.0.250.0040.00416.86
8.0.240.0050.00516.93
8.0.230.0000.00716.86
8.0.220.0040.00416.89
8.0.210.0040.00416.92
8.0.200.0000.00616.91
8.0.190.0040.00416.96
8.0.180.0050.00216.96
8.0.170.0040.00416.91
8.0.160.0000.00716.77
8.0.150.0030.00316.74
8.0.140.0040.00416.83
8.0.130.0050.00013.20
8.0.120.0030.00516.79
8.0.110.0040.00416.80
8.0.100.0050.00216.93
8.0.90.0000.00717.02
8.0.80.0100.00616.81
8.0.70.0070.00016.78
8.0.60.0070.00016.77
8.0.50.0070.00016.95
8.0.30.0090.01116.96
8.0.20.0110.00817.40
8.0.10.0000.00716.89
8.0.00.0100.01016.67
7.4.330.0030.00315.03
7.4.320.0030.00316.47
7.4.300.0060.00016.38
7.4.290.0050.00216.45
7.4.280.0000.00816.55
7.4.270.0040.00416.34
7.4.260.0050.00516.46
7.4.250.0070.00016.41
7.4.240.0040.00416.44
7.4.230.0030.00316.59
7.4.220.0070.01116.39
7.4.210.0000.01416.59
7.4.200.0040.00316.42
7.4.160.0080.00816.48
7.4.150.0140.00517.40
7.4.140.0090.01117.86
7.4.130.0150.00316.48
7.4.120.0110.00716.58
7.4.110.0060.01616.38
7.4.100.0140.00316.47
7.4.90.0090.00916.37
7.4.80.0110.00819.39
7.4.70.0130.00916.52
7.4.60.0090.00916.45
7.4.50.0000.00816.52
7.4.40.0090.00616.33
7.4.30.0080.00816.25
7.4.00.0030.01015.00
7.3.330.0000.00713.08
7.3.320.0000.00513.17
7.3.310.0060.00316.22
7.3.300.0000.00716.23
7.3.290.0030.01016.24
7.3.280.0080.00816.19
7.3.270.0190.00017.40
7.3.260.0090.01216.33
7.3.240.0140.00416.35
7.3.230.0060.01016.39
7.3.210.0100.00716.48
7.3.200.0110.00719.39
7.3.190.0080.00816.37
7.3.180.0170.00416.38
7.3.170.0060.00916.32
7.3.160.0040.01816.25
7.2.330.0070.01016.58
7.2.320.0000.01716.52
7.2.310.0110.00616.63
7.2.300.0030.01716.57
7.2.290.0100.00716.56
7.2.60.0140.00716.78
7.1.200.0090.00015.61
7.1.100.0030.00717.99
7.1.70.0000.01016.75
7.1.60.0040.01519.40
7.1.50.0110.00416.60
7.1.00.0030.07722.51
7.0.200.0030.00716.68
7.0.140.0030.07322.18
7.0.60.0070.08019.92
7.0.50.0030.08317.88
7.0.40.0070.08719.98
7.0.30.0170.04720.34
7.0.20.0270.08320.18
7.0.10.0100.08320.15
7.0.00.0070.06320.04
5.6.280.0000.07721.09
5.6.210.0170.07320.52
5.6.200.0070.06318.15
5.6.190.0070.08020.41
5.6.180.0230.05320.41
5.6.170.0170.04720.50
5.6.160.0130.07020.44
5.6.150.0100.07718.08
5.6.140.0100.07018.18
5.6.130.0070.08718.09
5.6.120.0070.05021.09
5.6.110.0070.03721.11
5.6.100.0100.04320.88
5.6.90.0130.06320.96
5.6.80.0100.05720.38
5.5.350.0030.08320.41
5.5.340.0100.07017.91
5.5.330.0070.07720.37
5.5.320.4000.04020.29
5.5.310.0370.06720.30
5.5.300.0100.05317.89
5.5.290.0070.08317.99
5.5.280.0100.08320.71
5.5.270.0100.04320.85
5.5.260.0030.08720.79
5.5.250.0070.08020.77
5.5.240.0030.07020.23
5.4.450.0100.04019.10
5.4.440.0030.07319.57
5.4.430.1700.04719.40
5.4.420.2200.03719.40
5.4.410.2070.04719.28
5.4.400.2070.04019.13
5.4.390.2070.03719.13
5.4.380.2100.04019.11
5.4.370.2000.04019.24
5.4.360.2200.03319.09
5.4.350.2070.03718.88
5.4.340.1930.04319.07
5.4.320.0170.06319.08
5.4.310.0070.06019.25
5.4.300.0800.07019.15
5.4.290.1930.04719.05
5.4.280.2230.03318.92
5.4.270.2230.04019.25
5.4.260.1930.03718.77
5.4.250.2000.03019.07
5.4.240.2100.04319.07
5.4.230.1730.03319.08
5.4.220.1930.03318.76
5.4.210.2030.03019.14
5.4.200.0800.03018.92
5.4.190.0070.04018.78
5.4.180.0030.03718.76
5.4.170.1800.03319.11
5.4.160.1930.03019.05
5.4.150.2070.02719.22
5.4.140.1930.02716.31
5.4.130.1930.02716.30
5.4.120.2370.03716.15
5.4.110.1930.03016.39
5.4.100.2130.02016.30
5.4.90.1830.03716.07
5.4.80.1900.03316.37
5.4.70.1570.03716.37
5.4.60.0000.04316.33
5.4.50.0000.04316.19
5.4.40.0800.03316.30
5.4.30.1930.04016.18
5.4.20.0130.04716.35
5.4.10.0270.03016.44
5.4.00.0070.04315.71
5.3.290.0270.07014.51
5.3.280.0200.03314.43
5.3.270.0230.03014.54
5.3.260.0100.04314.44
5.3.250.0230.03314.44
5.3.240.0270.06314.55
5.3.230.0170.05314.68
5.3.220.0170.04014.50
5.3.210.0230.07014.41
5.3.200.0170.04014.39
5.3.190.0170.04014.40
5.3.180.0270.05714.46
5.3.170.0230.03314.57
5.3.160.0200.04014.43
5.3.150.0230.05714.40
5.3.140.0270.03314.51
5.3.130.0130.07314.55
5.3.120.0200.07714.45
5.3.110.0200.06714.40
5.3.100.0170.07314.02
5.3.90.0200.03714.07
5.3.80.0200.07313.96
5.3.70.0270.06713.83
5.3.60.0330.06713.91
5.3.50.0270.07013.95
5.3.40.0300.03013.88
5.3.30.0230.07313.96
5.3.20.0300.05713.78
5.3.10.0370.03013.56
5.3.00.0330.06013.59
5.2.170.0230.05311.19
5.2.160.0270.03711.00
5.2.150.0200.05011.07
5.2.140.0270.05311.01
5.2.130.0200.05711.14
5.2.120.0270.03011.00
5.2.110.0200.06311.00
5.2.100.0170.04310.99
5.2.90.0200.03710.95
5.2.80.0230.06011.03
5.2.70.0270.02311.11
5.2.60.0130.04311.05
5.2.50.0230.05310.82
5.2.40.0230.05010.82
5.2.30.0230.05711.14
5.2.20.0230.03010.79
5.2.10.0200.05311.02
5.2.00.0200.05310.73
5.1.60.0270.04310.07
5.1.50.0170.0239.96
5.1.40.0200.04710.02
5.1.30.0230.05010.41
5.1.20.0170.05310.31
5.1.10.0200.0539.95
5.1.00.0200.04710.07
5.0.50.0100.0508.45
5.0.40.0100.0438.39
5.0.30.0070.0478.29
5.0.20.0100.0208.09
5.0.10.0130.0208.14
5.0.00.0170.0378.03
4.4.90.0100.0377.65
4.4.80.0100.0337.65
4.4.70.0100.0207.65
4.4.60.0100.0307.65
4.4.50.0130.0307.65
4.4.40.0100.0577.65
4.4.30.0100.0377.65
4.4.20.0130.0337.65
4.4.10.0100.0377.65
4.4.00.0130.0277.65
4.3.110.0170.0207.65
4.3.100.0100.0207.65
4.3.90.0100.0237.65
4.3.80.0130.0507.65
4.3.70.0100.0277.65
4.3.60.0100.0207.65
4.3.50.0130.0337.65
4.3.40.0130.0477.65
4.3.30.0100.0237.65
4.3.20.0030.0377.65
4.3.10.0070.0307.65
4.3.00.0000.0237.65

preferences:
41.89 ms | 400 KiB | 5 Q