- Output for 5.3.0 - 5.3.28, 5.4.0 - 5.4.26
- Parse error: syntax error, unexpected ',' in /in/tFh5h on line 5
Process exited with code 255.
<?php
$stringToReplace = "opening-ceremony-600x450.d20140220-u162540.jpg'";
$removeTimestamp = strlen($stringToReplace);
$removeTimestamp = float($removeTimestamp - 17);
$string = substr_replace($stringToReplace, ".jpg", , $removeTimestamp);
echo $string;