3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Insurance { function clsName() { echo get_class(); } } $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.60.0090.00618.64
8.3.50.0090.00616.36
8.3.40.0000.01618.67
8.3.30.0130.00918.72
8.3.20.0110.00421.85
8.3.10.0090.00923.58
8.3.00.0110.00420.89
8.2.180.0030.01516.49
8.2.170.0150.00322.96
8.2.160.0100.00320.12
8.2.150.0080.00024.18
8.2.140.0070.01024.66
8.2.130.0070.00719.79
8.2.120.0040.00426.35
8.2.110.0090.00019.19
8.2.100.0090.00318.03
8.2.90.0060.00617.88
8.2.80.0000.00918.96
8.2.70.0040.00417.92
8.2.60.0040.00418.09
8.2.50.0060.00318.10
8.2.40.0020.00519.42
8.2.30.0040.00419.24
8.2.20.0070.00018.04
8.2.10.0050.00219.22
8.2.00.0030.00619.34
8.1.280.0120.00325.92
8.1.270.0060.00919.00
8.1.260.0000.01426.35
8.1.250.0040.00428.09
8.1.240.0000.00822.05
8.1.230.0070.00418.85
8.1.220.0050.00317.79
8.1.210.0060.00318.77
8.1.200.0100.00017.35
8.1.190.0000.00917.23
8.1.180.0000.00818.10
8.1.170.0040.00418.65
8.1.160.0000.00718.91
8.1.150.0000.00718.87
8.1.140.0000.00720.65
8.1.130.0070.00020.30
8.1.120.0030.00417.41
8.1.110.0040.00417.38
8.1.100.0000.00717.42
8.1.90.0090.00017.43
8.1.80.0030.00517.45
8.1.70.0050.00317.35
8.1.60.0060.00317.46
8.1.50.0040.00417.44
8.1.40.0040.00417.53
8.1.30.0040.00417.48
8.1.20.0040.00417.68
8.1.10.0080.00017.52
8.1.00.0030.00617.39
8.0.300.0030.00518.77
8.0.290.0000.00816.75
8.0.280.0070.00018.38
8.0.270.0030.00617.14
8.0.260.0030.00318.35
8.0.250.0030.00317.03
8.0.240.0000.00816.99
8.0.230.0000.00716.94
8.0.220.0070.00016.80
8.0.210.0000.00716.75
8.0.200.0040.00416.99
8.0.190.0040.00416.86
8.0.180.0000.00816.91
8.0.170.0030.00616.88
8.0.160.0000.00716.80
8.0.150.0040.00416.82
8.0.140.0080.00016.88
8.0.130.0000.00613.29
8.0.120.0000.00716.85
8.0.110.0070.00016.76
8.0.100.0000.00816.96
8.0.90.0040.00316.92
8.0.80.0130.00616.84
8.0.70.0050.00316.84
8.0.60.0040.00417.00
8.0.50.0000.00716.71
8.0.30.0130.00517.07
8.0.20.0120.01217.40
8.0.10.0000.00716.80
8.0.00.0050.01416.79
7.4.330.0070.00015.55
7.4.320.0000.00616.58
7.4.300.0060.00016.45
7.4.290.0040.00416.59
7.4.280.0050.00516.58
7.4.270.0030.00316.61
7.4.260.0000.00716.46
7.4.250.0040.00416.57
7.4.240.0030.00316.58
7.4.230.0000.00716.41
7.4.220.0070.00016.61
7.4.210.0100.01016.61
7.4.200.0080.00016.30
7.4.160.0070.00916.59
7.4.140.0100.01017.86
7.4.130.0070.01016.55
7.4.120.0090.00916.32
7.4.110.0220.00016.45
7.4.100.0090.00916.65
7.4.90.0070.01116.39
7.4.80.0070.01019.39
7.4.70.0070.01116.61
7.4.60.0070.01416.54
7.4.50.0070.00716.55
7.4.40.0160.00316.35
7.4.00.0050.00814.92
7.3.330.0000.00513.28
7.3.320.0030.00313.11
7.3.310.0050.00216.16
7.3.300.0060.00016.15
7.3.290.0000.00616.36
7.3.280.0060.01116.31
7.3.260.0090.00716.36
7.3.240.0100.00916.36
7.3.230.0090.00916.30
7.3.210.0180.00416.16
7.3.200.0030.01416.38
7.3.190.0160.00816.35
7.3.180.0090.01216.41
7.3.170.0130.00316.29
7.3.160.0130.00316.33
7.3.10.0340.00714.72
7.3.00.0880.00714.52
7.2.330.0110.00616.54
7.2.320.0140.00316.66
7.2.310.0040.01916.35
7.2.300.0070.01016.72
7.2.290.0150.00316.72
7.2.130.0400.01315.02
7.2.120.0410.00614.96
7.2.110.0380.00615.05
7.2.100.0440.00315.12
7.2.90.0320.00414.96
7.2.80.0260.00715.00
7.2.70.0460.00315.11
7.2.60.0500.00315.21
7.2.50.0400.00715.02
7.2.40.0340.00015.23
7.2.30.0280.00615.00
7.2.20.0470.00014.97
7.2.10.0470.00314.93
7.2.00.0460.00315.02
7.1.250.0450.00613.89

preferences:
61.28 ms | 401 KiB | 5 Q