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)) { fscanf($fp, 'move %d from %d to %d', $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.0140.00718.09
8.3.50.0090.00618.39
8.3.40.0080.00619.84
8.3.30.0080.00618.46
8.3.20.0070.00024.18
8.3.10.0040.00424.66
8.3.00.0000.00826.16
8.2.180.0140.00025.92
8.2.170.0090.00619.01
8.2.160.0070.01022.96
8.2.150.0040.00425.66
8.2.140.0040.00424.66
8.2.130.0000.00726.16
8.2.120.0100.00020.64
8.2.110.0000.00922.13
8.2.100.0090.00317.91
8.2.90.0090.00020.60
8.2.80.0000.00817.63
8.2.70.0090.00017.63
8.2.60.0000.00817.90
8.2.50.0040.00418.07
8.2.40.0040.00418.16
8.2.30.0070.00017.96
8.2.20.0000.00720.68
8.2.10.0000.00818.34
8.2.00.0000.00719.23
8.1.280.0060.00925.92
8.1.270.0000.00724.66
8.1.260.0060.00326.35
8.1.250.0070.00028.09
8.1.240.0030.00722.46
8.1.230.0070.00420.91
8.1.220.0040.00417.74
8.1.210.0030.00618.99
8.1.200.0060.00317.23
8.1.190.0000.00717.35
8.1.180.0080.00018.10
8.1.170.0050.00318.64
8.1.160.0070.00018.88
8.1.150.0040.00418.67
8.1.140.0000.00717.44
8.1.130.0040.00417.39
8.1.120.0020.00517.50
8.1.110.0040.00417.50
8.1.100.0040.00417.56
8.1.90.0000.00717.35
8.1.80.0040.00417.47
8.1.70.0000.00717.51
8.1.60.0040.00417.67
8.1.50.0040.00417.56
8.1.40.0040.00417.61
8.1.30.0030.00517.51
8.1.20.0040.00417.51
8.1.10.0050.00317.51
8.1.00.0030.00617.32
8.0.300.0050.00320.13
8.0.290.0040.00416.75
8.0.280.0040.00418.51
8.0.270.0040.00416.86
8.0.260.0050.00316.95
8.0.250.0000.00816.95
8.0.240.0040.00416.95
8.0.230.0040.00417.02
8.0.220.0040.00416.97
8.0.210.0040.00416.95
8.0.200.0000.00716.95
8.0.190.0080.00016.95
8.0.180.0080.00016.95
8.0.170.0040.00416.95
8.0.160.0040.00416.95
8.0.150.0040.00416.95
8.0.140.0030.00316.95
8.0.130.0000.00816.95
8.0.120.0000.00816.95
8.0.110.0000.00816.95
8.0.100.0040.00416.95
8.0.90.0000.00716.95
8.0.80.0000.00716.95
8.0.70.0050.00316.95
8.0.60.0000.00916.95
8.0.50.0000.00916.95
8.0.30.0000.00816.95
8.0.20.0000.00716.95
8.0.10.0030.00616.95

preferences:
33.04 ms | 400 KiB | 5 Q