string(3) "Bee"
Apple
Bee
Candy
string(3) "Bee"
string(5) "Apple"
Output for 8.4.15
/bin/php-8.4.15: /usr/lib/libm.so.6: version `GLIBC_2.38' not found (required by /bin/php-8.4.15)
/bin/php-8.4.15: /usr/lib/libm.so.6: version `GLIBC_2.35' not found (required by /bin/php-8.4.15)
/bin/php-8.4.15: /usr/lib/libc.so.6: version `GLIBC_2.34' not found (required by /bin/php-8.4.15)
/bin/php-8.4.15: /usr/lib/libc.so.6: version `GLIBC_2.38' not found (required by /bin/php-8.4.15)
Process exited with code 1.
string(3) "Bee"
Apple
Bee
Candy
bool(false)
string(5) "Apple"
Output for 5.1.0
Fatal error: fatal flex scanner internal error--end of buffer missed in /in/HbVnd on line 9
Process exited with code 255.
Output for 4.3.0 - 4.3.9, 5.0.0 - 5.0.1
string(3) "Bee"
Apple
Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/HbVnd on line 5
PHP_EOLBee
Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/HbVnd on line 5
PHP_EOLCandy
Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/HbVnd on line 5
PHP_EOLbool(false)
string(5) "Apple"