3v4l.org

run code in 300+ PHP versions simultaneously
<?php $pattern = '/Postleitzahl (\d{1,5}) ist nicht zulässig für Hausnummer (\d+) , richtig: (\d{1,5})/'; var_dump(preg_match($pattern, 'Postleitzahl (12345) ist nicht zulässig für Hausnummer 124 , richtig: (12456)'));
Output for 8.1.32, 8.2.0 - 8.2.28, 8.3.0 - 8.3.19, 8.4.1 - 8.4.5
int(0)

preferences:
57.09 ms | 406 KiB | 5 Q