- Output for 5.3.0 - 5.3.24, 5.4.0 - 5.4.15
- Parse error: syntax error, unexpected ';' in 3dnY5 on line 9
Process exited with code 255. - Output for 5.3.25
- Parse error: syntax error, unexpected ';' in /in/LUscb on line 9
Process exited with code 255.
<?php
$identifier = "a@z.com";
$identifier = "another";
echo "Original";
echo strpos($identifier, '@') === false ? false : true;
echo strpos($identifier2, '@') === false ? false : true;
echo;
echo "Improve";
echo (bool) strpos($identifier, '@') !== false;
echo (bool) strpos($identifier2, '@') !== false;