3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php declare(strict_types=1); $fixers = ['foo', 'bar']; var_dump("The provided fixer '$fixers[0]' cannot be enabled at the same time as '$fixers[1]'.");
based on e5vIc
Output for 7.0.0 - 7.2.0
string(69) "The provided fixer 'foo' cannot be enabled at the same time as 'bar'."
Output for 5.4.11 - 5.6.28
Warning: Unsupported declare 'strict_types' in /in/eEkfS on line 1 string(69) "The provided fixer 'foo' cannot be enabled at the same time as 'bar'."
Output for 5.3.21 - 5.3.29
Warning: Unsupported declare 'strict_types' in /in/eEkfS on line 1 Parse error: syntax error, unexpected '[' in /in/eEkfS on line 3
Process exited with code 255.