3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Insurance { function clsName() { echo get_class($this); } } // $cl = new Insurance(); // $cl-&gt;clsName(); Insurance::clsName(); ?>

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.0090.00516.71
8.3.50.0050.01321.92
8.3.40.0070.01018.82
8.3.30.0070.00718.72
8.3.20.0070.00020.07
8.3.10.0070.00023.39
8.3.00.0040.00419.66
8.2.180.0030.01218.41
8.2.170.0040.01222.96
8.2.160.0070.00720.48
8.2.150.0080.00024.18
8.2.140.0030.00524.66
8.2.130.0080.00019.39
8.2.120.0000.00826.35
8.2.110.0030.00621.97
8.2.100.0040.00817.78
8.2.90.0000.00919.18
8.2.80.0000.00817.97
8.2.70.0060.00317.36
8.2.60.0040.00417.80
8.2.50.0040.00418.07
8.2.40.0030.00521.12
8.2.30.0000.00820.49
8.2.20.0000.00717.57
8.2.10.0000.00717.99
8.2.00.0040.00418.00
8.1.280.0130.00325.92
8.1.270.0000.00920.43
8.1.260.0000.00728.09
8.1.250.0000.00828.09
8.1.240.0090.00021.29
8.1.230.0110.00017.82
8.1.220.0000.00817.74
8.1.210.0040.00418.77
8.1.200.0060.00317.23
8.1.190.0080.00017.63
8.1.180.0000.00818.10
8.1.170.0040.00418.59
8.1.160.0000.00720.54
8.1.150.0000.00718.66
8.1.140.0000.00819.42
8.1.130.0030.00317.42
8.1.120.0050.00217.32
8.1.110.0040.00417.21
8.1.100.0050.00317.35
8.1.90.0040.00417.28
8.1.80.0030.00717.33
8.1.70.0030.00317.31
8.1.60.0030.00617.48
8.1.50.0030.00517.33
8.1.40.0000.00817.48
8.1.30.0000.00817.56
8.1.20.0000.00817.60
8.1.10.0000.00717.54
8.1.00.0000.00817.41
8.0.300.0000.00718.77
8.0.290.0040.00416.75
8.0.280.0030.00318.42
8.0.270.0040.00417.18
8.0.260.0030.00317.08
8.0.250.0070.00016.94
8.0.240.0000.00716.93
8.0.230.0060.00316.89
8.0.220.0000.00916.72
8.0.210.0000.00916.74
8.0.200.0000.00716.91
8.0.190.0000.00816.96
8.0.180.0040.00416.77
8.0.170.0040.00416.93
8.0.160.0050.00216.79
8.0.150.0050.00216.81
8.0.140.0050.00216.81
8.0.130.0000.00713.29
8.0.120.0060.00316.74
8.0.110.0070.00016.93
8.0.100.0070.00016.90
8.0.90.0070.00016.77
8.0.80.0060.01016.77
8.0.70.0040.00416.71
8.0.60.0000.00716.67
8.0.50.0000.00716.69
8.0.30.0110.00617.02
8.0.20.0040.01417.40
8.0.10.0050.00316.74
8.0.00.0090.00816.69
7.4.330.0050.00016.69
7.4.320.0030.00316.32
7.4.300.0030.00316.52
7.4.290.0070.00016.48
7.4.280.0060.00316.31
7.4.270.0000.00716.50
7.4.260.0000.00716.50
7.4.250.0040.00416.43
7.4.240.0020.00516.43
7.4.230.0050.00216.35
7.4.220.0140.00316.50
7.4.210.0060.00916.46
7.4.200.0040.00416.55
7.4.160.0060.00916.22
7.4.150.0090.00617.40
7.4.140.0140.00917.86
7.4.130.0180.00316.36
7.4.120.0070.00916.61
7.4.110.0090.00916.46
7.4.100.0100.00716.54
7.4.90.0100.00716.39
7.4.80.0110.01119.39
7.4.70.0030.01416.43
7.4.60.0100.00616.37
7.4.50.0110.00716.47
7.4.40.0090.00916.37
7.4.30.0100.00716.35
7.4.00.0040.01214.89
7.3.330.0000.00813.37
7.3.320.0000.00713.21
7.3.310.0000.00716.25
7.3.300.0000.00716.34
7.3.290.0090.00816.34
7.3.280.0070.01016.36
7.3.270.0160.00917.40
7.3.260.0100.00716.35
7.3.240.0120.00716.36
7.3.230.0040.01416.39
7.3.210.0090.00916.59
7.3.200.0150.00316.55
7.3.190.0130.00316.46
7.3.180.0130.00716.36
7.3.170.0100.00716.41
7.3.160.0130.00316.37
7.2.330.0110.01116.31
7.2.320.0110.00616.66
7.2.310.0080.00816.62
7.2.300.0060.01016.32
7.2.290.0100.00616.39
7.2.60.0040.01216.52
7.2.00.0090.00619.17
7.1.200.0000.01015.75
7.1.100.0040.00718.03
7.1.70.0090.00617.21
7.1.60.0100.01319.13
7.1.50.0050.00516.86
7.1.00.0000.08022.37
7.0.200.0000.00716.76
7.0.60.0030.07019.95
7.0.50.0000.04317.90
7.0.40.0100.08320.18
7.0.30.0230.06720.35
7.0.20.0370.06020.37
7.0.10.0130.08020.24
7.0.00.0100.08020.09
5.6.280.0000.04321.11
5.6.210.0070.04020.65
5.6.200.0130.07018.15
5.6.190.0070.09020.41
5.6.180.0100.07020.67
5.6.170.0170.04320.54
5.6.160.0030.04720.46
5.6.150.0030.04018.27
5.6.140.0070.08318.17
5.6.130.0030.08318.15
5.6.120.0070.04721.13
5.6.110.0130.08020.98
5.6.100.0030.06021.04
5.6.90.0130.08021.03
5.6.80.0100.06320.41
5.5.350.4300.03320.33
5.5.340.0130.03317.96
5.5.330.0030.07020.27
5.5.320.0500.04320.38
5.5.310.0170.03720.37
5.5.300.0070.06017.95
5.5.290.0130.04717.97
5.5.280.0030.04320.88
5.5.270.0100.04720.96
5.5.260.0230.06720.79
5.5.250.0100.08320.61
5.5.240.0130.06320.35

preferences:
54.99 ms | 401 KiB | 5 Q