3v4l.org

run code in 300+ PHP versions simultaneously
<?php class ┻━┻ extends Exception {} function (╯°□°)╯︵┻━┻() { throw new ┻━┻; } try { (╯°□°)╯︵┻━┻(); } catch($┳━┳) { echo "Table caught: ".$┳━┳->getMessage(); }
Output for 5.4.18
Parse error: syntax error, unexpected '$┳━┳' (T_VARIABLE), expecting identifier (T_STRING) or namespace (T_NAMESPACE) or \\ (T_NS_SEPARATOR) in /in/qUGSP on line 12
Process exited with code 255.
Output for 5.4.0 - 5.4.17
Parse error: syntax error, unexpected '$┳━┳' (T_VARIABLE), expecting identifier (T_STRING) or namespace (T_NAMESPACE) or \\ (T_NS_SEPARATOR) in /in/YhCE6 on line 12
Process exited with code 255.
Output for 5.3.0 - 5.3.27
Parse error: syntax error, unexpected T_VARIABLE, expecting T_STRING or T_NAMESPACE or T_NS_SEPARATOR in /in/YhCE6 on line 12
Process exited with code 255.

preferences:
181.28 ms | 1399 KiB | 54 Q