3v4l.org

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

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.00416.63
8.3.50.0090.00616.52
8.3.40.0100.00320.38
8.3.30.0110.00318.59
8.3.20.0040.00424.18
8.3.10.0040.00424.66
8.3.00.0080.00026.16
8.2.180.0140.00318.16
8.2.170.0070.00718.79
8.2.160.0000.01322.96
8.2.150.0050.00225.66
8.2.140.0050.00324.66
8.2.130.0080.00026.16
8.2.120.0060.00317.80
8.2.110.0060.00322.11
8.2.100.0100.00317.84
8.2.90.0040.00417.50
8.2.80.0040.00418.72
8.2.70.0000.00817.50
8.2.60.0040.00417.50
8.2.50.0140.00417.13
8.2.40.0130.00317.50
8.2.30.0130.00317.25
8.2.20.0060.01117.38
8.2.10.0130.00317.50
8.2.00.0140.00317.00
8.1.280.0040.01125.92
8.1.270.0070.00024.66
8.1.260.0050.00326.35
8.1.250.0000.00728.09
8.1.240.0070.00320.23
8.1.230.0100.00317.82
8.1.220.0040.00417.74
8.1.210.0040.00418.77
8.1.200.0060.00317.23
8.1.190.0170.00016.75
8.1.180.0090.00916.88
8.1.170.0140.00216.98
8.1.160.0100.00716.75
8.1.150.0110.01116.98
8.1.140.0100.00717.00
8.1.130.0130.00616.88
8.1.120.0100.00616.88
8.1.110.0150.00017.00
8.1.100.0140.00317.25
8.1.90.0160.00017.25
8.1.80.0120.00616.97
8.1.70.0120.00816.98
8.1.60.0120.00617.38
8.1.50.0130.00417.50
8.1.40.0140.00417.00
8.1.30.0130.00417.25
8.1.20.0100.00717.38
8.1.10.0140.00317.13
8.1.00.0140.00417.00
8.0.300.0050.00218.77
8.0.290.0000.00716.63
8.0.280.0160.00016.52
8.0.270.0110.00616.52
8.0.260.0130.00316.61
8.0.250.0120.00416.52
8.0.240.0120.00416.52
8.0.230.0100.00716.60
8.0.220.0130.00316.52
8.0.210.0070.01016.63
8.0.200.0080.00816.52
8.0.190.0140.00216.52
8.0.180.0090.00916.52
8.0.170.0100.00516.63
8.0.160.0100.00616.52
8.0.150.0050.01016.52
8.0.140.0110.00816.52
8.0.130.0120.00616.52
8.0.120.0100.00516.52
8.0.110.0100.01016.52
8.0.100.0130.00316.52
8.0.90.0080.00816.52
8.0.80.0080.00816.52
8.0.70.0090.00716.52
8.0.60.0080.00816.52
8.0.50.0060.01016.52
8.0.30.0060.00916.60
8.0.20.0150.00016.52
8.0.10.0120.00316.63

preferences:
38.13 ms | 400 KiB | 5 Q