3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Insurance { function clsName() { echo get_class($this); } } $cl = new Insurance(); $cl->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.70.0120.00616.63
8.3.60.0150.00616.88
8.3.50.0140.00421.97
8.3.40.0000.01418.78
8.3.30.0120.00318.53
8.3.20.0050.00220.16
8.3.10.0040.00421.63
8.3.00.0040.00419.26
8.2.180.0040.01516.63
8.2.170.0040.01122.96
8.2.160.0140.00420.44
8.2.150.0050.00324.18
8.2.140.0040.00424.66
8.2.130.0090.00017.50
8.2.120.0040.00426.35
8.2.110.0140.00319.07
8.2.100.0090.00317.72
8.2.90.0040.00419.17
8.2.80.0040.00417.97
8.2.70.0050.00317.63
8.2.60.0060.00317.90
8.2.50.0040.00418.07
8.2.40.0080.00019.16
8.2.30.0070.00020.65
8.2.20.0090.00017.64
8.2.10.0040.00417.99
8.2.00.0040.00417.87
8.1.280.0030.01425.92
8.1.270.0040.00421.95
8.1.260.0040.00428.09
8.1.250.0040.00428.09
8.1.240.0090.00022.18
8.1.230.0110.00018.71
8.1.220.0050.00317.74
8.1.210.0030.00618.77
8.1.200.0070.00417.23
8.1.190.0030.00617.76
8.1.180.0000.00818.10
8.1.170.0030.00518.71
8.1.160.0050.00221.95
8.1.150.0050.00218.82
8.1.140.0000.00919.46
8.1.130.0000.00717.55
8.1.120.0040.00417.41
8.1.110.0000.00717.30
8.1.100.0000.00817.41
8.1.90.0000.01117.27
8.1.80.0040.00417.39
8.1.70.0000.00717.40
8.1.60.0040.00417.46
8.1.50.0030.00617.48
8.1.40.0040.00417.52
8.1.30.0080.00017.65
8.1.20.0000.00717.52
8.1.10.0030.00617.46
8.1.00.0080.00317.52
8.0.300.0040.00418.77
8.0.290.0040.00416.75
8.0.280.0030.00318.45
8.0.270.0000.00717.31
8.0.260.0030.00317.24
8.0.250.0070.00017.06
8.0.240.0040.00417.03
8.0.230.0000.00716.98
8.0.220.0000.00816.89
8.0.210.0040.00416.88
8.0.200.0080.00016.83
8.0.190.0070.00016.84
8.0.180.0040.00416.84
8.0.170.0000.00716.93
8.0.160.0040.00416.91
8.0.150.0050.00316.89
8.0.140.0040.00416.69
8.0.130.0070.00013.26
8.0.120.0000.00816.78
8.0.110.0040.00416.90
8.0.100.0000.00716.95
8.0.90.0020.00516.89
8.0.80.0040.01116.95
8.0.70.0050.00216.91
8.0.60.0000.00916.74
8.0.50.0000.00716.87
8.0.30.0090.00616.88
8.0.20.0120.00917.40
8.0.10.0060.00416.83
8.0.00.0110.00916.67
7.4.330.0050.00016.71
7.4.320.0030.00316.50
7.4.300.0030.00316.49
7.4.290.0000.00816.48
7.4.280.0040.00416.60
7.4.270.0030.00316.48
7.4.260.0080.00016.48
7.4.250.0060.00316.44
7.4.240.0060.00116.38
7.4.230.0070.00016.69
7.4.220.0130.00616.70
7.4.210.0090.01016.54
7.4.200.0000.00716.68
7.4.160.0100.00716.43
7.4.150.0170.00717.40
7.4.140.0060.01217.86
7.4.130.0100.01116.57
7.4.120.0070.01116.54
7.4.110.0130.00316.68
7.4.100.0070.01016.58
7.4.90.0130.00316.44
7.4.80.0100.01019.39
7.4.70.0140.00916.51
7.4.60.0030.01216.51
7.4.50.0070.00716.31
7.4.40.0090.00916.41
7.4.30.0100.00716.53
7.4.00.0070.00714.90
7.3.330.0000.00613.19
7.3.320.0030.00313.33
7.3.310.0060.00016.31
7.3.300.0000.00616.27
7.3.290.0120.00716.34
7.3.280.0150.00416.35
7.3.270.0100.00617.40
7.3.260.0160.00016.33
7.3.250.0120.00616.35
7.3.240.0090.00716.26
7.3.230.0030.01416.51
7.3.210.0070.01016.43
7.3.200.0130.00916.57
7.3.190.0040.01516.38
7.3.180.0150.00616.45
7.3.170.0100.01016.42
7.3.160.0080.00816.30
7.2.330.0130.00516.37
7.2.320.0130.01016.56
7.2.310.0060.01216.69
7.2.300.0030.01416.51
7.2.290.0030.01616.79
7.2.60.0070.00716.69
7.2.00.0040.01519.14
7.1.200.0040.00815.74
7.1.100.0040.01117.98
7.1.70.0000.01017.11
7.1.60.0100.01419.36
7.1.50.0030.01516.93
7.1.00.0030.07322.32
7.0.200.0050.00216.71
7.0.60.0130.06320.06
7.0.50.0070.06717.88
7.0.40.0000.08320.11
7.0.30.0470.07720.08
7.0.20.0230.04020.22
7.0.10.0130.08020.06
7.0.00.0030.04320.09
5.6.280.0070.05020.89
5.6.210.0030.04020.53
5.6.200.0130.07718.15
5.6.190.0030.04720.51
5.6.180.0200.04020.50
5.6.170.0200.04320.56
5.6.160.0070.04320.52
5.6.150.0130.07318.19
5.6.140.0030.08018.28
5.6.130.0100.05318.27
5.6.120.0070.09021.18
5.6.110.0130.07720.89
5.6.100.0070.07720.98
5.6.90.0030.09021.04
5.6.80.0070.08320.51
5.5.350.0170.06720.30
5.5.340.0000.04317.94
5.5.330.0100.08320.19
5.5.320.0000.06720.20
5.5.310.0270.06020.34
5.5.300.0100.04718.03
5.5.290.0070.03717.99
5.5.280.0170.07320.73
5.5.270.0070.05320.75
5.5.260.0230.06020.80
5.5.250.0070.03720.61
5.5.240.4170.04320.35

preferences:
58.25 ms | 401 KiB | 5 Q