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.60.0110.00418.43
8.3.50.0100.00316.12
8.3.40.0070.01318.57
8.3.30.0100.01018.68
8.3.20.0150.00021.60
8.3.10.0070.01123.65
8.3.00.0000.00820.96
8.2.180.0120.00916.47
8.2.170.0150.00722.96
8.2.160.0150.00420.27
8.2.150.0040.00424.18
8.2.140.0030.00624.66
8.2.130.0000.00818.03
8.2.120.0040.00426.35
8.2.110.0060.00319.27
8.2.100.0060.00618.16
8.2.90.0070.00417.88
8.2.80.0040.00419.09
8.2.70.0050.00317.93
8.2.60.0040.00418.18
8.2.50.0060.00318.10
8.2.40.0000.00819.34
8.2.30.0030.00519.24
8.2.20.0070.00018.00
8.2.10.0070.00019.13
8.2.00.0030.00619.29
8.1.280.0110.00425.92
8.1.270.0060.00318.88
8.1.260.0140.00026.35
8.1.250.0060.00328.09
8.1.240.0040.00422.07
8.1.230.0040.00719.04
8.1.220.0040.00417.76
8.1.210.0030.00618.77
8.1.200.0030.00617.35
8.1.190.0040.00417.35
8.1.180.0050.00218.10
8.1.170.0050.00318.65
8.1.160.0000.00718.80
8.1.150.0070.00018.88
8.1.140.0040.00420.73
8.1.130.0030.00320.24
8.1.120.0030.00517.46
8.1.110.0040.00417.51
8.1.100.0050.00217.45
8.1.90.0030.00617.42
8.1.80.0030.00517.46
8.1.70.0040.00417.45
8.1.60.0000.00917.59
8.1.50.0060.00317.50
8.1.40.0040.00417.50
8.1.30.0040.00717.61
8.1.20.0080.00017.46
8.1.10.0030.00517.55
8.1.00.0000.00817.54
8.0.300.0060.00318.77
8.0.290.0030.00516.63
8.0.280.0000.00718.30
8.0.270.0070.00017.29
8.0.260.0060.00018.42
8.0.250.0070.00016.88
8.0.240.0000.00816.96
8.0.230.0000.00717.02
8.0.220.0000.00816.94
8.0.210.0000.00716.96
8.0.200.0000.00717.06
8.0.190.0040.00417.07
8.0.180.0050.00516.84
8.0.170.0080.00016.97
8.0.160.0000.00716.97
8.0.150.0080.00016.84
8.0.140.0070.00016.90
8.0.130.0030.00313.37
8.0.120.0040.00416.93
8.0.110.0070.00016.90
8.0.100.0040.00416.95
8.0.90.0000.00716.95
8.0.80.0060.01016.93
8.0.70.0030.00416.82
8.0.60.0000.00716.95
8.0.50.0000.00716.81
8.0.30.0140.00317.19
8.0.20.0120.00617.40
8.0.10.0030.00317.07
8.0.00.0090.01316.75
7.4.330.0040.00215.55
7.4.320.0000.00616.60
7.4.300.0030.00316.44
7.4.290.0030.00316.59
7.4.280.0080.00016.60
7.4.270.0070.00016.52
7.4.260.0000.00716.57
7.4.250.0030.00316.56
7.4.240.0070.00016.45
7.4.230.0040.00416.60
7.4.220.0040.00416.41
7.4.210.0060.01116.56
7.4.200.0030.00516.38
7.4.160.0090.00716.51
7.4.140.0130.00617.86
7.4.130.0090.00916.63
7.4.120.0110.00716.51
7.4.110.0070.01116.48
7.4.100.0210.00316.48
7.4.90.0130.00316.50
7.4.80.0060.01019.39
7.4.70.0080.00816.44
7.4.60.0080.01216.45
7.4.50.0000.01816.31
7.4.40.0120.00616.66
7.4.00.0060.00814.89
7.3.330.0020.00213.28
7.3.320.0030.00313.16
7.3.310.0040.00416.19
7.3.300.0070.00016.30
7.3.290.0030.00316.34
7.3.280.0050.01216.31
7.3.260.0110.00516.28
7.3.240.0050.01216.42
7.3.230.0130.00316.36
7.3.210.0090.00916.32
7.3.200.0110.01116.30
7.3.190.0120.01116.15
7.3.180.0080.00816.51
7.3.170.0120.00616.38
7.3.160.0060.01016.32
7.3.120.0090.00614.76
7.3.110.0100.00614.75
7.3.100.0000.01015.00
7.3.90.0000.01414.95
7.3.80.0030.01314.88
7.3.70.0000.01114.71
7.3.60.0070.00714.82
7.3.50.0070.00714.48
7.3.40.0000.00914.50
7.3.30.0060.00914.76
7.3.20.0060.00916.39
7.3.10.0280.00715.75
7.3.00.0250.00515.75
7.2.330.0000.01616.60
7.2.320.0070.01416.72
7.2.310.0140.01016.53
7.2.300.0120.00316.52
7.2.290.0070.01116.71
7.2.250.0090.00915.23
7.2.240.0030.01314.91
7.2.230.0170.00015.00
7.2.220.0000.01114.89
7.2.210.0030.01214.95
7.2.200.0100.00614.76
7.2.190.0040.00814.93
7.2.180.0030.00814.94
7.2.170.0040.00814.71
7.2.130.0490.01015.00
7.2.120.0500.00015.15
7.2.110.0540.01014.80
7.2.100.0340.00715.18
7.2.90.0400.00914.85
7.2.80.0470.00314.86
7.2.70.0490.00715.01
7.2.60.0440.00715.01
7.2.50.0310.01515.15
7.2.40.0340.00715.13
7.2.30.0380.00715.13
7.2.20.0380.00014.82
7.2.10.0320.01015.07
7.2.00.0350.00315.07
7.1.330.0120.00015.63
7.1.320.0000.01315.80
7.1.310.0040.00815.69
7.1.300.0060.00615.82
7.1.290.0030.01015.78
7.1.280.0090.00615.67
7.1.270.0030.01115.77
7.1.260.0030.01015.67
7.1.250.0450.00613.81

preferences:
83.51 ms | 401 KiB | 5 Q