3v4l.org

run code in 300+ PHP versions simultaneously
<?php $fp = fopen('php://temp', 'wb+'); fwrite($fp, "move 19 from 23 to 34\n\n"); fseek($fp, 0); while (!feof($fp)) { if (!fscanf($fp, "move %d from %d to %d\n", $howMany, $from, $to)) unset($howMany, $from, $to); var_dump($howMany, $from, $to); }

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.0120.00318.68
8.3.50.0150.00018.54
8.3.40.0070.01020.21
8.3.30.0090.00618.52
8.3.20.0040.00424.18
8.3.10.0080.00024.66
8.3.00.0050.00326.16
8.2.180.0110.00725.92
8.2.170.0190.00018.75
8.2.160.0110.00422.96
8.2.150.0040.00425.66
8.2.140.0080.00024.66
8.2.130.0040.00426.16
8.2.120.0050.00326.16
8.2.110.0030.00622.16
8.2.100.0040.00817.91
8.2.90.0000.00820.61
8.2.80.0050.00317.63
8.2.70.0070.00317.63
8.2.60.0040.00417.80
8.2.50.0080.00018.07
8.2.40.0040.00418.16
8.2.30.0050.00218.05
8.2.20.0030.00520.55
8.2.10.0040.00418.30
8.2.00.0000.00819.30
8.1.280.0060.00925.92
8.1.270.0070.00023.84
8.1.260.0080.00026.35
8.1.250.0060.00328.09
8.1.240.0090.00022.52
8.1.230.0070.00721.03
8.1.220.0040.00417.74
8.1.210.0040.00418.91
8.1.200.0060.00317.35
8.1.190.0030.00617.22
8.1.180.0050.00318.10
8.1.170.0000.00918.32
8.1.160.0040.00418.88
8.1.150.0000.00718.51
8.1.140.0040.00417.43
8.1.130.0130.00617.43
8.1.120.0060.01317.40
8.1.110.0090.00617.45
8.1.100.0100.00417.42
8.1.90.0080.01117.49
8.1.80.0080.00517.43
8.1.70.0130.00419.15
8.1.60.0180.00317.50
8.1.50.0100.00817.59
8.1.40.0160.00417.49
8.1.30.0150.00617.48
8.1.20.0210.00017.59
8.1.10.0120.01219.25
8.1.00.0100.01017.41
8.0.300.0060.00320.02
8.0.290.0040.00416.88
8.0.280.0030.00318.51
8.0.270.0030.00316.94
8.0.260.0090.00916.95
8.0.250.0090.00918.68
8.0.240.0040.01316.95
8.0.230.0110.00717.06
8.0.220.0160.00316.95
8.0.210.0090.00316.96
8.0.200.0040.00816.95
8.0.190.0150.00317.00
8.0.180.0080.00917.01
8.0.170.0200.00017.02
8.0.160.0080.00516.95
8.0.150.0070.00718.57
8.0.140.0040.00716.95
8.0.130.0090.00717.01
8.0.120.0140.00218.71
8.0.110.0160.00316.95
8.0.100.0120.00316.95
8.0.90.0090.00718.77
8.0.80.0150.00016.95
8.0.70.0150.00518.66
8.0.60.0120.00716.95
8.0.50.0090.00716.95
8.0.30.0080.00816.95
8.0.20.0140.00416.95
8.0.10.0130.00817.02

preferences:
29.67 ms | 400 KiB | 5 Q