3v4l.org

run code in 300+ PHP versions simultaneously
<?php abstract class PonyTown { public static function gimmeSomeLovin($relation) { echo sprintf('%s loves it', $relation) . PHP_EOL; } } $f = PonyTown::class . '::gimmeSomeLovin'; $f('Your nan'); $g = [PonyTown::class, 'gimmeSomeLovin']; $g("Ron's dad");

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.01218.56
8.3.50.0070.01121.88
8.3.40.0100.00718.71
8.3.30.0170.00318.71
8.3.20.0040.00420.16
8.3.10.0080.00020.58
8.3.00.0040.00420.57
8.2.180.0100.00318.42
8.2.170.0140.00322.96
8.2.160.0040.01122.21
8.2.150.0050.00324.18
8.2.140.0030.00524.66
8.2.130.0030.00621.03
8.2.120.0040.00426.35
8.2.110.0070.00321.05
8.2.100.0070.00417.80
8.2.90.0070.00019.22
8.2.80.0030.00517.97
8.2.70.0080.00017.63
8.2.60.0080.00018.04
8.2.50.0040.00418.09
8.2.40.0080.00020.58
8.2.30.0000.00719.45
8.2.20.0000.00717.61
8.2.10.0030.00618.05
8.2.00.0070.00018.01
8.1.280.0080.00825.92
8.1.270.0040.00423.97
8.1.260.0040.00428.09
8.1.250.0080.00028.09
8.1.240.0160.00622.43
8.1.230.0080.00317.70
8.1.220.0000.00817.74
8.1.210.0000.00818.77
8.1.200.0000.00917.13
8.1.190.0000.00817.22
8.1.180.0000.00818.10
8.1.170.0080.00018.36
8.1.160.0070.00020.68
8.1.150.0070.00018.88
8.1.140.0040.00419.48
8.1.130.0030.00517.64
8.1.120.0040.00417.38
8.1.110.0000.00817.34
8.1.100.0000.00717.29
8.1.90.0040.00417.35
8.1.80.0040.00417.35
8.1.70.0030.00317.45
8.1.60.0040.00417.59
8.1.50.0080.00017.50
8.1.40.0000.00817.39
8.1.30.0050.00317.52
8.1.20.0040.00417.50
8.1.10.0000.00717.59
8.1.00.0000.00717.53
8.0.300.0060.00318.77
8.0.290.0080.00016.88
8.0.280.0040.00418.45
8.0.270.0030.00317.25
8.0.260.0000.00617.25
8.0.250.0000.00716.93
8.0.240.0000.00716.92
8.0.230.0000.00816.87
8.0.220.0000.00716.91
8.0.210.0000.00716.77
8.0.200.0040.00416.91
8.0.190.0060.00316.94
8.0.180.0040.00416.82
8.0.170.0000.00716.80
8.0.160.0040.00416.89
8.0.150.0040.00416.67
8.0.140.0040.00416.88
8.0.130.0030.00313.25
8.0.120.0050.00316.86
8.0.110.0040.00416.77
8.0.100.0000.00716.77
8.0.90.0000.00716.79
8.0.80.0040.01116.89
8.0.70.0040.00416.84
8.0.60.0030.00516.71
8.0.50.0000.00716.88
8.0.30.0100.00617.10
8.0.20.0150.01617.40
8.0.10.0040.00416.77
8.0.00.0120.00816.81
7.4.330.0050.00016.79
7.4.320.0060.00016.43
7.4.300.0000.00716.48
7.4.290.0040.00416.60
7.4.280.0000.00816.54
7.4.270.0030.00316.49
7.4.260.0060.00316.49
7.4.250.0080.00016.57
7.4.240.0070.00016.59
7.4.230.0070.00016.55
7.4.220.0140.00316.50
7.4.210.0090.01216.62
7.4.200.0040.00416.39
7.4.160.0090.00616.33
7.4.150.0240.02817.40
7.4.140.0090.01117.86
7.4.130.0070.01916.47
7.4.120.0070.01016.51
7.4.110.0130.01016.56
7.4.100.0090.01316.35
7.4.90.0090.00916.47
7.4.80.0090.00919.39
7.4.70.0060.01016.47
7.4.60.0070.01016.57
7.4.50.0060.00716.62
7.4.40.0080.00816.59
7.4.30.0130.00316.56
7.4.00.0060.01015.07
7.3.330.0060.00013.32
7.3.320.0030.00513.22
7.3.310.0060.00016.27
7.3.300.0060.00016.30
7.3.290.0090.00816.27
7.3.280.0080.00816.25
7.3.270.0100.00717.40
7.3.260.0120.00916.48
7.3.240.0100.00716.36
7.3.230.0160.00716.48
7.3.210.0090.00616.20
7.3.200.0110.00716.30
7.3.190.0100.01016.43
7.3.180.0060.01216.54
7.3.170.0130.00316.24
7.3.160.0030.01216.39
7.2.330.0100.00716.21
7.2.320.0110.00616.25
7.2.310.0130.01016.62
7.2.300.0060.01216.28
7.2.290.0050.01116.30
7.2.110.0710.00016.50
7.2.60.0030.01016.80
7.2.00.0030.00719.43
7.1.200.0070.00715.62
7.1.100.0030.00618.35
7.1.70.0000.00717.16
7.1.60.0070.01319.27
7.1.50.0030.01017.08
7.1.00.0030.07722.28
7.0.200.0510.00314.85
7.0.60.0030.08321.73
7.0.50.0100.07717.86
7.0.40.0070.05720.02
7.0.30.0270.07720.35
7.0.20.0300.05720.20
7.0.10.0030.05320.06
7.0.00.0070.04320.06
5.6.280.0070.04721.03
5.6.210.0030.06320.50
5.6.200.0170.07318.15
5.6.190.0000.06320.48
5.6.180.0200.05020.68
5.6.170.0270.06320.55
5.6.160.0130.05720.61
5.6.150.0030.07018.15
5.6.140.0100.08318.27
5.6.130.0130.07018.17
5.6.120.0030.05320.99
5.6.110.0030.05720.96
5.6.100.0130.04321.13
5.6.90.0070.08321.11
5.6.80.0130.04720.53
5.5.350.0300.07020.53
5.5.340.0070.06317.98
5.5.330.0100.03720.41
5.5.320.0300.05320.27
5.5.310.0230.07720.19
5.5.300.0000.04317.98
5.5.290.0100.03318.04
5.5.280.0100.07020.85
5.5.270.0170.06020.68
5.5.260.0200.07720.76
5.5.250.0100.08720.71
5.5.240.0000.04020.37

preferences:
53.61 ms | 401 KiB | 5 Q