3v4l.org

run code in 300+ PHP versions simultaneously
<?php $today = new DateTimeImmutable(); $M = $today->modify("next monday"); echo "next monday: {$M->format("m/d/y")}\n"; $W = $M->modify("next wednesday"); echo "next wednesday: {$W->format("m/d/y")}\n"; $F = $W->modify("next friday"); echo "next friday: {$F->format("m/d/y")}\n";

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.0230.01016.62
8.5.20.0280.00716.83
8.5.10.0280.00416.88
8.5.00.0270.00916.57
8.4.180.0120.01119.48
8.4.170.0150.00619.72
8.4.160.0130.00519.65
8.4.150.0050.00819.50
8.4.140.0140.01217.53
8.4.130.0290.01317.63
8.4.120.0280.01017.97
8.4.110.0380.01117.87
8.4.100.0320.00317.79
8.4.90.0150.00817.80
8.4.80.0200.00317.80
8.4.70.0240.00617.56
8.4.60.0230.00717.88
8.4.50.0300.01217.64
8.4.40.0360.00817.45
8.4.30.0390.00817.88
8.4.20.0210.00717.76
8.4.10.0220.00517.67
8.3.300.0170.00618.58
8.3.290.0300.00618.64
8.3.280.0210.00818.47
8.3.270.0260.00716.78
8.3.260.0180.00416.72
8.3.250.0210.00216.49
8.3.240.0180.00916.75
8.3.230.0200.00516.54
8.3.220.0170.00316.73
8.3.210.0160.00516.61
8.3.200.0170.00516.47
8.3.190.0160.00616.53
8.3.180.0190.00516.34
8.3.170.0190.00416.66
8.3.160.0200.00416.91
8.3.150.0280.00816.80
8.3.140.0190.00616.64
8.3.130.0240.00216.89
8.3.120.0240.00716.68
8.3.110.0150.00416.71
8.3.100.0200.00516.45
8.3.90.0280.00816.56
8.3.80.0320.00716.54
8.3.70.0210.00416.69
8.3.60.0180.00516.58
8.3.50.0160.00516.41
8.3.40.0250.00718.00
8.3.30.0240.00917.99
8.3.20.0320.00717.98
8.3.10.0140.00617.86
8.3.00.0190.00517.35

preferences:
53.87 ms | 702 KiB | 5 Q