3v4l.org

run code in 300+ PHP versions simultaneously
<?php $who = "World"; $str = sprintf("Hello, %s!", $who); echo $str, "\n";

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.4.10.0080.01122.23
8.3.140.0060.01316.94
8.3.130.0050.00318.27
8.3.120.0000.00818.67
8.3.110.0040.00416.61
8.3.100.0040.00424.06
8.3.90.0050.00226.77
8.3.80.0040.00718.05
8.3.70.0130.00316.63
8.3.60.0160.00616.36
8.3.50.0130.00419.73
8.3.40.0140.00720.30
8.3.30.0070.00718.68
8.3.20.0040.00424.18
8.3.10.0070.00324.66
8.3.00.0080.00026.16
8.2.250.0000.00818.20
8.2.240.0040.01518.99
8.2.230.0100.00020.94
8.2.220.0030.00737.54
8.2.210.0090.00926.77
8.2.200.0100.00016.38
8.2.190.0090.00618.54
8.2.180.0130.00725.92
8.2.170.0120.00318.81
8.2.160.0070.01322.96
8.2.150.0030.00625.66
8.2.140.0080.00024.66
8.2.130.0000.00826.16
8.2.120.0000.00720.95
8.2.110.0060.00320.48
8.2.100.0100.00017.84
8.2.90.0040.00417.84
8.2.80.0040.00419.05
8.2.70.0060.00317.50
8.2.60.0030.00617.93
8.2.50.0030.00618.04
8.2.40.0070.00018.22
8.2.30.0040.00417.98
8.2.20.0070.00020.50
8.2.10.0040.00418.10
8.2.00.0040.00419.21
8.1.300.0070.01117.90
8.1.290.0090.00330.84
8.1.280.0070.00725.92
8.1.270.0030.00524.66
8.1.260.0070.00026.35
8.1.250.0080.00028.09
8.1.240.0030.00623.85
8.1.230.0070.00419.01
8.1.220.0030.00517.77
8.1.210.0030.00518.77
8.1.200.0060.00316.88
8.1.190.0000.00917.10
8.1.180.0040.00418.10
8.1.170.0000.00817.62
8.1.160.0040.00418.83
8.1.150.0000.00718.61
8.1.140.0000.00717.38
8.1.130.0000.00817.38
8.1.120.0040.00417.41
8.1.110.0050.00317.27
8.1.100.0000.00717.39
8.1.90.0130.00317.41
8.1.80.0160.00017.22
8.1.70.0080.00817.31
8.1.60.0180.00017.41
8.1.50.0120.00617.45
8.1.40.0110.00717.35
8.1.30.0120.00617.46
8.1.20.0130.00717.45
8.1.10.0060.01217.46
8.1.00.0130.00517.32
8.0.300.0080.00020.09
8.0.290.0040.00416.63
8.0.280.0070.00018.42
8.0.270.0030.00317.25
8.0.260.0000.00616.68
8.0.250.0030.00616.91
8.0.240.0080.00016.98
8.0.230.0030.00316.87
8.0.220.0080.00816.77
8.0.210.0160.00016.76
8.0.200.0160.00516.86
8.0.190.0110.00716.67
8.0.180.0080.00816.81
8.0.170.0130.00316.82
8.0.160.0050.01016.70
8.0.150.0130.00316.71
8.0.140.0130.00316.68
8.0.130.0140.00216.70
8.0.120.0160.00016.86
8.0.110.0150.00016.74
8.0.100.0060.01116.80
8.0.90.0040.01216.75
8.0.80.0160.00016.83
8.0.70.0160.00016.67
8.0.60.0150.00016.82
8.0.50.0120.00316.69
8.0.30.0120.00316.79
8.0.20.0120.00616.81
8.0.10.0170.00716.93
7.4.330.0060.00015.55
7.4.320.0040.00416.43
7.4.300.0080.00816.42
7.4.290.0110.00716.39
7.4.280.0140.00516.57
7.4.270.0140.00316.51
7.4.260.0110.00616.39
7.4.250.0140.00316.55
7.4.240.0130.00416.44
7.4.230.0090.00816.46
7.4.220.0110.00416.48
7.4.210.0050.01016.47
7.4.200.0140.00016.46
7.4.190.0050.00916.48
7.4.180.0070.00716.59
7.4.160.0110.00416.53
7.4.150.0130.00016.34
7.4.140.0000.00916.47
7.4.130.0070.00016.47
7.4.120.0040.00416.46
7.4.110.0050.00316.29
7.4.100.0070.00016.43
7.4.90.0070.00016.22
7.4.80.0050.00216.38
7.4.70.0040.00416.38
7.4.60.0000.00716.45
7.4.50.0000.00816.34
7.4.40.0110.00016.21
7.4.30.0070.00716.18
7.4.20.0130.00016.28
7.4.10.0070.00416.44
7.4.00.0030.00716.39

preferences:
27.32 ms | 403 KiB | 5 Q