3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php declare(toks=1){ $x = true; } declare(teks=1){ $x = false; } var_dump($x);
based on LDDgV
Output for 5.3.0 - 7.2.0
Warning: Unsupported declare 'toks' in /in/Qnsvl on line 3 Warning: Unsupported declare 'teks' in /in/Qnsvl on line 7 bool(false)
Output for 4.3.0 - 5.2.17
bool(false)