3v4l.org

run code in 300+ PHP versions simultaneously
<?php 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.70.0110.00416.48
8.3.60.0110.01118.33
8.3.50.0100.01221.96
8.3.40.0090.00618.80
8.3.30.0070.00718.80
8.3.20.0080.00020.35
8.3.10.0040.00420.57
8.3.00.0000.00820.52
8.2.180.0100.00318.16
8.2.170.0170.00022.96
8.2.160.0100.00322.21
8.2.150.0050.00324.18
8.2.140.0090.00024.66
8.2.130.0040.00420.95
8.2.120.0080.00026.35
8.2.110.0080.00321.18
8.2.100.0080.00418.04
8.2.90.0040.00419.08
8.2.80.0030.00517.97
8.2.70.0050.00317.63
8.2.60.0000.00817.93
8.2.50.0050.00318.09
8.2.40.0050.00320.42
8.2.30.0030.00319.42
8.2.20.0040.00417.71
8.2.10.0000.00717.98
8.2.00.0000.00718.00
8.1.280.0100.00725.92
8.1.270.0050.00323.92
8.1.260.0070.00028.09
8.1.250.0000.00828.09
8.1.240.0040.00422.41
8.1.230.0040.00717.76
8.1.220.0040.00417.74
8.1.210.0040.00418.77
8.1.200.0080.00017.35
8.1.190.0040.00417.23
8.1.180.0000.00718.10
8.1.170.0040.00418.64
8.1.160.0040.00420.75
8.1.150.0000.00818.81
8.1.140.0040.00419.51
8.1.130.0050.00317.68
8.1.120.0030.00317.48
8.1.110.0000.00817.34
8.1.100.0040.00417.44
8.1.90.0070.00017.41
8.1.80.0000.00717.36
8.1.70.0030.00317.44
8.1.60.0040.00417.61
8.1.50.0030.00517.42
8.1.40.0000.00817.52
8.1.30.0040.00417.59
8.1.20.0040.00417.45
8.1.10.0040.00417.55
8.1.00.0030.00617.48
8.0.300.0060.00318.77
8.0.290.0070.00016.58
8.0.280.0030.00318.47
8.0.270.0030.00317.11
8.0.260.0000.00617.18
8.0.250.0000.00616.93
8.0.240.0030.00316.84
8.0.230.0000.00717.02
8.0.220.0000.00716.85
8.0.210.0040.00416.83
8.0.200.0000.00716.84
8.0.190.0040.00416.98
8.0.180.0040.00416.90
8.0.170.0070.00016.80
8.0.160.0000.00716.79
8.0.150.0070.00016.82
8.0.140.0040.00416.75
8.0.130.0000.00613.39
8.0.120.0040.00416.78
8.0.110.0040.00416.86
8.0.100.0040.00416.82
8.0.90.0020.00516.86
8.0.80.0070.00716.77
8.0.70.0040.00416.73
8.0.60.0040.00416.77
8.0.50.0040.00416.71
8.0.30.0090.00717.06
8.0.20.0070.01017.40
8.0.10.0040.00416.94
8.0.00.0110.00616.71
7.4.330.0050.00016.89
7.4.320.0000.00616.48
7.4.300.0040.00416.56
7.4.290.0030.00616.51
7.4.280.0040.00416.62
7.4.270.0030.00316.43
7.4.260.0060.00316.48
7.4.250.0000.00816.59
7.4.240.0030.00316.50
7.4.230.0000.00716.58
7.4.220.0070.01116.57
7.4.210.0100.01016.42
7.4.200.0040.00416.49
7.4.160.0030.01216.51
7.4.150.0150.00917.40
7.4.140.0080.01217.86
7.4.130.0160.00616.46
7.4.120.0090.00716.54
7.4.110.0210.00016.61
7.4.100.0160.00716.45
7.4.90.0130.00616.52
7.4.80.0110.00719.39
7.4.70.0090.00616.41
7.4.60.0090.00616.53
7.4.50.0090.00616.40
7.4.40.0030.01316.52
7.4.30.0030.01316.59
7.4.00.0070.00715.18
7.3.330.0050.00013.02
7.3.320.0040.00413.36
7.3.310.0030.00316.14
7.3.300.0030.00316.30
7.3.290.0060.01316.28
7.3.280.0130.00316.27
7.3.270.0100.00717.40
7.3.260.0130.00316.33
7.3.250.0120.00916.31
7.3.240.0090.01016.46
7.3.230.0090.00816.52
7.3.210.0090.00916.30
7.3.200.0120.00416.31
7.3.190.0070.01316.25
7.3.180.0110.01116.48
7.3.170.0030.01316.28
7.3.160.0080.00816.28
7.2.330.0140.00416.49
7.2.320.0130.00716.46
7.2.310.0120.01116.62
7.2.300.0040.01216.30
7.2.290.0090.00816.31
7.2.110.0080.01616.31
7.2.60.0090.00616.72
7.2.00.0040.00719.23
7.1.200.0030.01015.66
7.1.100.0000.01117.97
7.1.70.0050.00317.03
7.1.60.0070.01719.27
7.1.50.0040.00816.91
7.1.00.0070.07022.37
7.0.200.0230.00814.91
7.0.60.0030.08021.80
7.0.50.0100.06017.74
7.0.40.0170.07320.21
7.0.30.0270.07320.21
7.0.20.0300.07720.23
7.0.10.0100.03720.10
7.0.00.0030.04320.08
5.6.280.0030.03021.00
5.6.210.0030.04720.70
5.6.200.0170.07718.24
5.6.190.0070.04020.63
5.6.180.0230.06720.57
5.6.170.0400.07720.55
5.6.160.0130.07720.55
5.6.150.0000.04318.23
5.6.140.0070.05318.18
5.6.130.0070.06018.18
5.6.120.0100.08321.00
5.6.110.0000.07020.98
5.6.100.0130.07020.99
5.6.90.0100.08720.97
5.6.80.0030.07320.51
5.5.350.0430.05320.38
5.5.340.0000.06017.98
5.5.330.0130.03320.25
5.5.320.0330.07320.40
5.5.310.0370.05720.34
5.5.300.0000.04318.03
5.5.290.0030.04018.08
5.5.280.0170.07320.90
5.5.270.0030.04720.86
5.5.260.0000.04720.73
5.5.250.0100.06720.50
5.5.240.0000.03720.26

preferences:
70.05 ms | 401 KiB | 5 Q