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.5.30.0100.00819.53
8.5.20.0080.00919.65
8.5.10.0090.00820.26
8.5.00.0100.01119.95
8.4.180.0120.01220.63
8.4.170.0140.00723.88
8.4.160.0130.00823.88
8.4.150.0080.00517.78
8.4.140.0120.01117.93
8.4.130.0130.00718.63
8.4.120.0100.00723.97
8.4.110.0050.00418.63
8.4.100.0140.00718.55
8.4.90.0100.01120.28
8.4.80.0050.00418.61
8.4.70.0120.00318.16
8.4.60.0160.00418.66
8.4.50.0140.00819.50
8.4.40.0100.01017.78
8.4.30.0040.00420.54
8.4.20.0090.00618.64
8.4.10.0090.01123.59
8.3.300.0130.00720.82
8.3.290.0100.01120.71
8.3.280.0090.01018.45
8.3.270.0100.00916.88
8.3.260.0050.00416.58
8.3.250.0130.00519.02
8.3.240.0120.00616.86
8.3.230.0130.00616.66
8.3.220.0040.00318.98
8.3.210.0120.00716.85
8.3.200.0060.00316.67
8.3.190.0110.00717.17
8.3.180.0050.00318.55
8.3.170.0110.00718.63
8.3.160.0100.00718.60
8.3.150.0140.00419.05
8.3.140.0110.00420.65
8.3.130.0030.00618.63
8.3.120.0060.01020.97
8.3.110.0040.00416.75
8.3.100.0040.00424.06
8.3.90.0050.00326.77
8.3.80.0030.00616.75
8.3.70.0090.00616.75
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.300.0110.00918.23
8.2.290.0110.00720.25
8.2.280.0090.00818.38
8.2.270.0140.00420.50
8.2.260.0040.00418.51
8.2.250.0090.00916.60
8.2.240.0030.00518.95
8.2.230.0030.00620.94
8.2.220.0030.00637.54
8.2.210.0000.00826.77
8.2.200.0060.00318.54
8.2.190.0120.00916.58
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.340.0100.00821.44
8.1.330.0090.00621.86
8.1.320.0100.00816.49
8.1.310.0130.00716.63
8.1.300.0040.00417.97
8.1.290.0000.01030.84
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:
43.93 ms | 1137 KiB | 5 Q