3v4l.org

run code in 300+ PHP versions simultaneously
<?php timezone_name_from_abbr('AWST', 28800, 'x');
Output for 8.0.0 - 8.0.30, 8.1.0 - 8.1.31, 8.2.0 - 8.2.26, 8.3.0 - 8.3.14, 8.4.1 - 8.4.2
Fatal error: Uncaught TypeError: timezone_name_from_abbr(): Argument #3 ($isDST) must be of type int, string given in /in/u7MLD:3 Stack trace: #0 /in/u7MLD(3): timezone_name_from_abbr('AWST', 28800, 'x') #1 {main} thrown in /in/u7MLD on line 3
Process exited with code 255.
Output for 7.3.0 - 7.3.33, 7.4.0 - 7.4.33
Warning: timezone_name_from_abbr() expects parameter 3 to be int, string given in /in/u7MLD on line 3
Output for 7.1.0 - 7.1.33, 7.2.0 - 7.2.34
Warning: timezone_name_from_abbr() expects parameter 3 to be integer, string given in /in/u7MLD on line 3

preferences:
89.13 ms | 409 KiB | 5 Q