3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $filePath = 'Тест.exe'; $fileName = end(explode('/', $filePath)); echo $fileName;
based on s7oZA
Output for 7.0.0 - 7.2.0
Notice: Only variables should be passed by reference in /in/4RJhY on line 4 Тест.exe
Output for 5.3.20 - 5.6.28
Strict Standards: Only variables should be passed by reference in /in/4RJhY on line 4 Тест.exe