3v4l.org

run code in 300+ PHP versions simultaneously
<?php $children = 1; echo '\n' . $children . ' Kind' . ($children !== 1 ?: 'er'; $children = 2; echo '\n' . $children . ' Kind' . ($children !== 1 ?: 'er';
Output for 7.0.0 - 7.0.20, 7.1.0 - 7.1.7
Parse error: syntax error, unexpected ';' in /in/5IqVp on line 4
Process exited with code 255.

preferences:
169.96 ms | 1395 KiB | 36 Q