3v4l.org

run code in 300+ PHP versions simultaneously
<?php class foo{ function __name(){ $this -> surname = "brant"; $this -> firstname = "wong"; $middle = "Big"; echo $middle; } } $foo = new foo(); ?>

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.00416.50
8.3.50.0020.01722.85
8.3.40.0120.00318.41
8.3.30.0030.01018.82
8.3.20.0070.00020.29
8.3.10.0040.00421.57
8.3.00.0090.00017.65
8.2.180.0090.00616.75
8.2.170.0050.00922.96
8.2.160.0130.00020.52
8.2.150.0030.00524.18
8.2.140.0080.00024.66
8.2.130.0060.00826.16
8.2.120.0070.00020.83
8.2.110.0030.00621.95
8.2.100.0040.00817.66
8.2.90.0040.00417.78
8.2.80.0040.00417.97
8.2.70.0040.00417.47
8.2.60.0000.00817.91
8.2.50.0040.00418.07
8.2.40.0000.00918.22
8.2.30.0050.00217.93
8.2.20.0030.00517.66
8.2.10.0040.00417.96
8.2.00.0070.00017.69
8.1.280.0040.01125.92
8.1.270.0030.00523.99
8.1.260.0080.00026.35
8.1.250.0040.00428.09
8.1.240.0060.00320.91
8.1.230.0060.00622.68
8.1.220.0030.00617.74
8.1.210.0030.00618.84
8.1.200.0090.00017.36
8.1.190.0040.00417.13
8.1.180.0050.00318.10
8.1.170.0030.00518.65
8.1.160.0000.00721.85
8.1.150.0000.00718.76
8.1.140.0070.00017.38
8.1.130.0000.00817.73
8.1.120.0000.00717.38
8.1.110.0080.00017.31
8.1.100.0040.00417.40
8.1.90.0000.01017.32
8.1.80.0060.00317.39
8.1.70.0050.00317.37
8.1.60.0040.00417.52
8.1.50.0080.00017.41
8.1.40.0090.00017.48
8.1.30.0040.00417.62
8.1.20.0040.00417.42
8.1.10.0030.00517.41
8.1.00.0070.00017.30
8.0.300.0040.00419.89
8.0.290.0060.00316.61
8.0.280.0040.00418.31
8.0.270.0000.00717.08
8.0.260.0030.00318.25
8.0.250.0030.00316.78
8.0.240.0070.00016.90
8.0.230.0070.00016.92
8.0.220.0000.00716.72
8.0.210.0070.00016.84
8.0.200.0000.00716.91
8.0.190.0030.00616.82
8.0.180.0040.00416.74
8.0.170.0060.00316.82
8.0.160.0040.00416.83
8.0.150.0040.00416.76
8.0.140.0000.00716.78
8.0.130.0050.00013.24
8.0.120.0040.00416.68
8.0.110.0040.00416.80
8.0.100.0040.00416.82
8.0.90.0070.00016.71
8.0.80.0040.01516.89
8.0.70.0000.00716.80
8.0.60.0070.00016.93
8.0.50.0050.00216.70
8.0.30.0160.00317.08
8.0.20.0130.00717.40
8.0.10.0090.00016.74
8.0.00.0110.01116.57
7.4.330.0050.00015.00
7.4.320.0030.00316.39
7.4.300.0060.00016.42
7.4.290.0030.00316.50
7.4.280.0030.00416.43
7.4.270.0000.00716.51
7.4.260.0050.00516.31
7.4.250.0080.00016.32
7.4.240.0020.00616.39
7.4.230.0030.00316.29
7.4.220.0070.01116.46
7.4.210.0130.00316.45
7.4.200.0000.00716.61
7.4.160.0080.00816.29
7.4.150.0060.01217.40
7.4.140.0130.00317.86
7.4.130.0130.00916.44
7.4.120.0090.01016.45
7.4.110.0130.00316.27
7.4.100.0130.00316.49
7.4.90.0140.00916.34
7.4.80.0120.00619.39
7.4.70.0100.01316.52
7.4.60.0130.01016.45
7.4.50.0030.00316.44
7.4.40.0150.00316.44
7.4.30.0060.01116.32
7.4.00.0070.00715.03
7.3.330.0030.00313.04
7.3.320.0050.00013.14
7.3.310.0000.00716.09
7.3.300.0000.00616.01
7.3.290.0090.00616.13
7.3.280.0110.00816.17
7.3.270.0110.00717.40
7.3.260.0080.01216.34
7.3.240.0130.01016.30
7.3.230.0130.00316.39
7.3.210.0030.01316.22
7.3.200.0040.01619.39
7.3.190.0140.00316.37
7.3.180.0090.00916.56
7.3.170.0030.01216.27
7.3.160.0060.01116.44
7.2.330.0070.01016.38
7.2.320.0090.01216.32
7.2.310.0120.00316.53
7.2.300.0080.00816.52
7.2.290.0070.01416.47
7.2.60.0090.00316.70
7.2.00.0310.00318.93
7.1.200.0000.01215.62
7.1.100.0110.00717.69
7.1.70.0030.00317.08
7.1.60.0110.00419.40
7.1.50.0130.00916.97
7.1.00.0070.07322.30
7.0.200.0030.00316.61
7.0.140.0030.07022.08
7.0.60.0130.08019.95
7.0.50.0030.08317.73
7.0.40.0100.05320.21
7.0.30.0300.08020.07
7.0.20.0230.07720.35
7.0.10.0070.05320.15
7.0.00.0100.08720.05
5.6.280.0000.07721.10
5.6.210.0030.04320.51
5.6.200.0200.07018.19
5.6.190.0100.08320.39
5.6.180.2800.05020.75
5.6.170.0270.05320.41
5.6.160.0070.08320.57
5.6.150.0130.07318.14
5.6.140.0000.05018.24
5.6.130.0070.06018.15
5.6.120.0100.08320.97
5.6.110.0130.08021.08
5.6.100.0000.09020.97
5.6.90.0070.08321.01
5.6.80.0170.07320.38
5.5.350.0200.08320.35
5.5.340.0100.06318.00
5.5.330.0100.08320.21
5.5.320.2470.03720.21
5.5.310.0330.07320.30
5.5.300.0170.07017.97
5.5.290.0100.04317.96
5.5.280.0170.07720.66
5.5.270.0200.06720.71
5.5.260.0130.08020.88
5.5.250.0070.03720.55
5.5.240.3500.04720.28
5.4.450.0300.04719.17
5.4.440.0300.05319.51
5.4.430.0100.04719.16
5.4.420.0370.04319.19
5.4.410.0400.04319.35
5.4.400.0200.04319.16
5.4.390.0400.04319.06
5.4.380.0430.05318.53
5.4.370.0370.05018.50
5.4.360.0370.05718.71
5.4.350.0470.05018.59
5.4.340.0400.05318.56
5.4.320.0100.03212.50
5.4.310.0040.03912.50
5.4.300.0060.03512.50
5.4.290.0040.04012.50
5.4.280.0040.04212.39
5.4.270.0060.04512.39
5.4.260.0060.03712.39
5.4.250.0040.03812.39
5.4.240.0030.03812.39
5.4.230.0070.03612.39
5.4.220.0020.04212.39
5.4.210.0070.03512.39
5.4.200.0100.03912.39
5.4.190.0070.04012.39
5.4.180.0080.03412.38
5.4.170.0090.03312.39
5.4.160.0050.04212.39
5.4.150.0060.03612.38
5.4.140.0060.03712.07
5.4.130.0050.03612.06
5.4.120.0040.03712.02
5.4.110.0080.03312.01
5.4.100.0050.03512.00
5.4.90.0020.04012.01
5.4.80.0030.04012.02
5.4.70.0030.03912.00
5.4.60.0040.03712.00
5.4.50.0070.03512.01
5.4.40.0070.03311.99
5.4.30.0080.03312.00
5.4.20.0060.03612.00
5.4.10.0040.03711.99
5.4.00.0040.03811.48
5.3.290.0090.03812.80
5.3.280.0040.04012.71
5.3.270.0060.03912.72
5.3.260.0070.03812.72
5.3.250.0060.03812.72
5.3.240.0080.03612.72
5.3.230.0050.04312.71
5.3.220.0050.03812.68
5.3.210.0030.04212.68
5.3.200.0080.03412.68
5.3.190.0070.03712.68
5.3.180.0070.03612.67
5.3.170.0060.03712.66
5.3.160.0070.03512.67
5.3.150.0090.03412.68
5.3.140.0040.03912.66
5.3.130.0070.03812.66
5.3.120.0070.03712.66
5.3.110.0070.03812.66
5.3.100.0040.03912.12
5.3.90.0050.03712.10
5.3.80.0040.03812.09
5.3.70.0040.03812.09
5.3.60.0100.03212.07
5.3.50.0070.03512.02
5.3.40.0050.03712.02
5.3.30.0080.03911.97
5.3.20.0100.03211.76
5.3.10.0080.03311.72
5.3.00.0070.03511.71
5.2.170.0060.0309.22
5.2.160.0070.0279.21
5.2.150.0050.0309.22
5.2.140.0040.0319.21
5.2.130.0030.0309.17
5.2.120.0050.0289.18
5.2.110.0070.0279.18
5.2.100.0040.0299.18
5.2.90.0030.0309.18
5.2.80.0050.0299.17
5.2.70.0040.0409.16
5.2.60.0060.0339.13
5.2.50.0040.0399.09
5.2.40.0040.0309.07
5.2.30.0060.0299.04
5.2.20.0060.0279.03
5.2.10.0080.0248.93
5.2.00.0060.0318.80
5.1.60.0030.0328.09
5.1.50.0050.0248.08
5.1.40.0050.0328.06
5.1.30.0070.0238.41
5.1.20.0050.0258.43
5.1.10.0040.0268.16
5.1.00.0020.0278.16
5.0.50.0060.0176.64
5.0.40.0030.0196.50
5.0.30.0020.0326.31
5.0.20.0030.0196.27
5.0.10.0020.0216.25
5.0.00.0020.0326.25
4.4.90.0030.0154.77
4.4.80.0040.0144.76
4.4.70.0020.0164.75
4.4.60.0010.0174.75
4.4.50.0030.0164.77
4.4.40.0020.0264.71
4.4.30.0040.0204.76
4.4.20.0020.0234.84
4.4.10.0030.0154.85
4.4.00.0040.0314.76
4.3.110.0050.0204.67
4.3.100.0040.0174.67
4.3.90.0010.0164.63
4.3.80.0040.0244.58
4.3.70.0040.0134.63
4.3.60.0010.0164.63
4.3.50.0020.0164.63
4.3.40.0010.0254.54
4.3.30.0010.0163.30
4.3.20.0010.0163.28
4.3.10.0020.0153.24
4.3.00.0100.01015.89

preferences:
39.05 ms | 401 KiB | 5 Q