3v4l.org

run code in 300+ PHP versions simultaneously
<?php /*class Insu { function clsName() { echo get_class($this); } } $cl = new Insu; $cl->clsName();*/ //Insurance::clsName(); print 4 <<5; //var_dump(3*4);

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.0040.01118.27
8.3.50.0090.00921.98
8.3.40.0090.00618.57
8.3.30.0120.00318.97
8.3.20.0050.00220.26
8.3.10.0080.00022.01
8.3.00.0040.00722.49
8.2.180.0090.00916.32
8.2.170.0040.01122.96
8.2.160.0070.00719.04
8.2.150.0080.00024.18
8.2.140.0040.00424.66
8.2.130.0070.00726.16
8.2.120.0090.00019.36
8.2.110.0070.00322.20
8.2.100.0110.00019.45
8.2.90.0000.00719.23
8.2.80.0000.00917.97
8.2.70.0070.00317.50
8.2.60.0040.00417.80
8.2.50.0000.00918.07
8.2.40.0000.00819.95
8.2.30.0040.00417.86
8.2.20.0050.00317.50
8.2.10.0020.00517.48
8.2.00.0040.00417.53
8.1.280.0070.00725.92
8.1.270.0060.00321.81
8.1.260.0070.00026.35
8.1.250.0070.00028.09
8.1.240.0090.00023.71
8.1.230.0030.01019.09
8.1.220.0050.00317.74
8.1.210.0000.00818.77
8.1.200.0060.00317.23
8.1.190.0000.00817.14
8.1.180.0000.00718.57
8.1.170.0040.00418.65
8.1.160.0040.00421.87
8.1.150.0040.00418.43
8.1.140.0060.00317.34
8.1.130.0040.00417.62
8.1.120.0030.00317.38
8.1.110.0060.00317.27
8.1.100.0030.00317.20
8.1.90.0080.00017.37
8.1.80.0030.00417.22
8.1.70.0050.00217.28
8.1.60.0040.00417.45
8.1.50.0030.00617.39
8.1.40.0000.00717.25
8.1.30.0000.00817.48
8.1.20.0000.00817.50
8.1.10.0040.00417.36
8.1.00.0000.00717.33
8.0.300.0040.00418.77
8.0.290.0040.00417.04
8.0.280.0000.00718.23
8.0.270.0080.00017.09
8.0.260.0030.00316.66
8.0.250.0000.00616.72
8.0.240.0070.00016.80
8.0.230.0030.00316.72
8.0.220.0030.00316.63
8.0.210.0030.00316.77
8.0.200.0030.00316.68
8.0.190.0080.00016.79
8.0.180.0040.00416.66
8.0.170.0000.00716.75
8.0.160.0080.00016.77
8.0.150.0000.00716.68
8.0.140.0040.00416.63
8.0.130.0000.00613.14
8.0.120.0040.00416.71
8.0.110.0040.00416.75
8.0.100.0000.00716.73
8.0.90.0000.00716.78
8.0.80.0120.00416.72
8.0.70.0000.00716.54
8.0.60.0000.00816.86
8.0.50.0000.00816.65
8.0.30.0110.01016.71
8.0.20.0060.01117.40
8.0.10.0000.00716.91
8.0.00.0140.00516.62
7.4.330.0030.00315.00
7.4.320.0000.00616.36
7.4.300.0030.00316.37
7.4.290.0000.00716.38
7.4.280.0000.00616.35
7.4.270.0050.00316.38
7.4.260.0040.00316.42
7.4.250.0000.00716.39
7.4.240.0000.00716.35
7.4.230.0070.00016.34
7.4.220.0120.00616.42
7.4.210.0070.00816.44
7.4.200.0070.00016.41
7.4.190.0080.00016.40
7.4.160.0080.00816.38
7.4.150.0160.00317.40
7.4.140.0120.00817.86
7.4.130.0110.01316.37
7.4.120.0140.00316.41
7.4.110.0090.00616.25
7.4.100.0060.01616.57
7.4.90.0120.00616.46
7.4.80.0110.00619.39
7.4.70.0090.00616.16
7.4.60.0120.00916.27
7.4.50.0000.00816.45
7.4.40.0180.00022.77
7.4.30.0000.01916.47
7.4.00.0140.00014.83
7.3.330.0060.00012.87
7.3.320.0000.00512.96
7.3.310.0000.00615.95
7.3.300.0000.00615.96
7.3.290.0100.00716.09
7.3.280.0080.00716.12
7.3.270.0110.00617.40
7.3.260.0110.00616.15
7.3.250.0160.00316.46
7.3.240.0060.00916.28
7.3.230.0040.01216.39
7.3.210.0100.00616.35
7.3.200.0060.00919.39
7.3.190.0110.01116.29
7.3.180.0080.00816.32
7.3.170.0170.00316.27
7.3.160.0090.00616.42
7.3.120.0110.00714.70
7.2.330.0090.00816.23
7.2.320.0030.01716.34
7.2.310.0040.01316.47
7.2.300.0090.01216.49
7.2.290.0090.00616.34
7.1.70.0060.00616.95
7.1.60.0030.01019.82
7.1.50.0000.01516.73
7.1.00.0070.07322.45
7.0.200.0050.00516.40
7.0.140.0030.07322.15
7.0.60.0030.04019.92
7.0.50.0070.04717.89
7.0.40.0130.03720.23
7.0.30.0300.04720.09
7.0.20.0370.07720.21
7.0.10.0230.04320.16
7.0.00.0130.07320.00
5.6.280.0070.07020.89
5.6.210.0070.08020.50
5.6.200.0030.08018.08
5.6.190.0200.07320.64
5.6.180.4300.04720.49
5.6.170.0300.06720.61
5.6.160.0070.05020.32
5.6.150.0100.05018.13
5.6.140.0100.04318.18
5.6.130.0100.07318.14
5.6.120.0070.07320.89
5.6.110.0170.07720.98
5.6.100.0170.07321.13
5.6.90.0030.09321.12
5.6.80.0070.08020.50
5.6.70.0200.03720.42
5.5.350.0000.04020.32
5.5.340.0070.07018.02
5.5.330.0100.03720.37
5.5.320.0230.03320.51
5.5.310.0400.07720.18
5.5.300.0100.05717.96
5.5.290.0030.06317.98
5.5.280.0030.04020.68
5.5.270.0100.08020.75
5.5.260.0070.09020.76
5.5.250.0100.08020.49
5.5.240.0170.06720.27
5.4.450.0100.05719.11
5.4.440.0500.05719.13
5.4.430.0000.06319.53
5.4.420.0200.04319.46
5.4.410.0170.05019.52
5.4.400.0700.00018.62
5.4.390.0670.00018.52
5.4.380.0330.04718.46
5.4.370.0870.04718.70
5.4.360.1070.04318.65
5.4.350.1000.05318.50
5.4.340.0730.05318.57
5.4.320.0070.04112.45
5.4.310.0080.04312.45
5.4.300.0060.04112.45
5.4.290.0040.04812.45
5.4.280.0030.03712.34
5.4.270.0080.03412.34
5.4.260.0050.04312.35
5.4.250.0100.03612.34
5.4.240.0070.03712.35
5.4.230.0070.04312.34
5.4.220.0060.03812.34
5.4.210.0040.03712.34
5.4.200.0070.03612.34
5.4.190.0170.04018.72
5.4.180.0170.05018.87
5.4.170.0170.06018.79
5.4.160.0030.06719.02
5.4.150.0100.05718.93
5.4.140.0130.06016.22
5.4.130.0100.05016.42
5.4.120.0070.06316.21
5.4.110.0130.05016.45
5.4.100.0070.05016.34
5.4.90.0070.05016.39
5.4.80.0200.04316.47
5.4.70.0030.06316.27
5.4.60.0100.07316.20
5.4.50.0030.06016.17
5.4.40.0200.04716.25
5.4.30.0170.06016.17
5.4.20.0100.05716.37
5.4.10.0030.06316.46
5.4.00.0170.04315.66
5.3.290.0060.04112.80
5.3.280.0040.03812.71
5.3.270.0100.04714.47
5.3.260.0100.05014.44
5.3.250.0130.04314.39
5.3.240.0030.06014.64
5.3.230.0030.05314.64
5.3.220.0130.05014.45
5.3.210.0170.05714.58
5.3.200.0070.05014.42
5.3.190.0030.05714.58
5.3.180.0130.04714.56
5.3.170.0100.04714.71
5.3.160.0170.06014.71
5.3.150.0030.05714.56
5.3.140.0130.04714.61
5.3.130.0100.07314.55
5.3.120.0070.05014.40
5.3.110.0130.07014.24
5.3.100.0130.04713.95
5.3.90.0130.05713.90
5.3.80.0070.06714.02
5.3.70.0030.05313.89
5.3.60.0000.06014.01
5.3.50.0100.04713.99
5.3.40.0100.04713.93
5.3.30.0070.05013.95
5.3.20.0100.04313.73
5.3.10.0130.05013.54
5.3.00.0100.04313.79

preferences:
47.22 ms | 400 KiB | 5 Q