3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a="Hello"; printf( "3*4=%d\n", 3*4); //乗算 printf( "8/2=%d\n", $a); //除算 printf( "1+5=%d\n", 1+5); //加算 printf( "7-3=%d\n", 7-3); //減算 printf( "10%%3=%d\n", 10%3); //剰余 ?>w

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.0100.01016.32
8.3.50.0060.00918.48
8.3.40.0070.00720.27
8.3.30.0120.00618.71
8.3.20.0040.00424.18
8.3.10.0040.00424.66
8.3.00.0080.00026.16
8.2.180.0090.00916.38
8.2.170.0000.01418.84
8.2.160.0060.00622.96
8.2.150.0040.00425.66
8.2.140.0000.00824.66
8.2.130.0080.00026.16
8.2.120.0070.00317.78
8.2.110.0000.00920.43
8.2.100.0040.00817.84
8.2.90.0040.00419.48
8.2.80.0000.00817.97
8.2.70.0040.00417.25
8.2.60.0170.00417.13
8.2.50.0140.00717.35
8.2.40.0160.00317.12
8.2.30.0100.00517.25
8.2.20.0100.00617.38
8.2.10.0110.00617.25
8.2.00.0110.00617.25
8.1.280.0090.00925.92
8.1.270.0060.00322.00
8.1.260.0080.00026.35
8.1.250.0040.00428.09
8.1.240.0090.00022.52
8.1.230.0090.00319.10
8.1.220.0030.00617.74
8.1.210.0040.00418.77
8.1.200.0030.00617.22
8.1.190.0110.00617.00
8.1.180.0170.00017.00
8.1.170.0110.00517.09
8.1.160.0150.00317.13
8.1.150.0130.00417.00
8.1.140.0130.00317.22
8.1.130.0070.01017.00
8.1.120.0080.01117.13
8.1.110.0120.00617.35
8.1.100.0130.00417.13
8.1.90.0160.00216.88
8.1.80.0110.00616.63
8.1.70.0110.00716.88
8.1.60.0140.00316.98
8.1.50.0160.00517.00
8.1.40.0110.00817.13
8.1.30.0100.01017.38
8.1.20.0090.00917.25
8.1.10.0170.00216.85
8.1.00.0100.01017.13
8.0.300.0000.00719.65
8.0.290.0070.00416.75
8.0.280.0130.00516.63
8.0.270.0180.00018.09
8.0.260.0100.00716.63
8.0.250.0110.00716.52
8.0.240.0130.00516.52
8.0.230.0160.00316.52
8.0.220.0100.00616.52
8.0.210.0130.00416.52
8.0.200.0080.00816.52
8.0.190.0150.00016.52
8.0.180.0150.00016.52
8.0.170.0130.00016.52
8.0.160.0040.01216.52
8.0.150.0150.00016.52
8.0.140.0110.00416.52
8.0.130.0080.00516.52
8.0.120.0040.00916.52
8.0.110.0150.00016.52
8.0.100.0090.00516.52
8.0.90.0160.00016.52
8.0.80.0070.00716.52
8.0.70.0040.00816.52
8.0.60.0120.00316.52
8.0.50.0100.00316.52
8.0.30.0090.00616.52
8.0.20.0100.00316.52
8.0.10.0080.00416.52

preferences:
46.56 ms | 401 KiB | 5 Q