3v4l.org

run code in 500+ PHP versions simultaneously
<?php echo date_default_timezone_get() . PHP_EOL; echo time() . PHP_EOL; echo strtotime('now') . PHP_EOL; date_default_timezone_set('America/Los_Angeles'); echo date_default_timezone_get() . PHP_EOL; echo time() . PHP_EOL; echo strtotime('now') . PHP_EOL;

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.4.130.0270.00817.73
8.4.120.0300.00817.65
8.4.110.0270.01017.65
8.4.100.0250.00717.77
8.4.90.0230.00717.76
8.4.80.0230.00817.83
8.4.70.0250.00617.82
8.4.60.0220.00917.70
8.4.50.0230.00717.81
8.4.40.0280.00617.50
8.4.30.0230.00817.62
8.4.20.0240.00517.57
8.4.10.0200.00317.56
8.3.260.0210.00416.59
8.3.250.0190.00516.56
8.3.240.0260.00616.75
8.3.230.0230.00816.65
8.3.220.0270.00516.37
8.3.210.0220.00516.61
8.3.200.0240.00416.81
8.3.190.0230.00816.55
8.3.180.0240.00716.71
8.3.170.0200.00716.66
8.3.160.0260.00616.67
8.3.150.0230.00716.63
8.3.140.0160.00616.62
8.3.130.0100.00616.76
8.3.120.0230.00616.64
8.3.110.0200.00816.65
8.3.100.0120.00616.72
8.3.90.0120.00516.65
8.3.80.0260.00616.64
8.3.70.0140.00516.62
8.3.60.0190.00716.78
8.3.50.0130.00416.73
8.3.40.0180.00617.82
8.3.30.0190.00517.66
8.3.20.0180.00617.76
8.3.10.0110.00317.79
8.3.00.0280.00717.55
8.2.290.0190.00816.38
8.2.280.0250.00416.67
8.2.270.0220.00516.46
8.2.260.0190.00616.25
8.2.250.0180.00716.47
8.2.240.0200.00616.69
8.2.230.0200.00516.29
8.2.220.0190.00716.33
8.2.210.0250.00416.33
8.2.200.0230.00816.52
8.2.190.0250.00516.30
8.2.180.0240.00516.28
8.2.170.0250.00817.42
8.2.160.0170.00517.72
8.2.150.0130.00517.73
8.2.140.0130.00517.56
8.2.130.0160.00317.62
8.2.120.0260.00517.48
8.2.110.0250.00717.29
8.2.100.0230.00817.57
8.2.90.0230.00617.29
8.2.80.0240.00617.58
8.2.70.0220.00817.61
8.2.60.0240.00817.52
8.2.50.0220.00617.45
8.2.40.0240.00617.35
8.2.30.0180.00417.11
8.2.20.0130.00617.27
8.2.10.0190.00417.25
8.2.00.0220.00617.56

preferences:
33.52 ms | 779 KiB | 5 Q