3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $chemin ='tmp/export_xlsx/'; if (substr($chemin, strlen($chemin) - 1, 1)) { $chemin = substr($chemin, 0, $chemin - 1); } echo $chemin;
based on HLSVG
Output for 7.1.0 - 7.2.0
Warning: A non-numeric value encountered in /in/Kefg9 on line 6 tmp/export_xlsx
Output for 5.3.18 - 7.0.20
tmp/export_xlsx