- Output for 5.5.24 - 5.5.30, 5.6.8 - 5.6.15
- Parse error: syntax error, unexpected 'echo' (T_ECHO) in /in/ECCEq on line 10
Process exited with code 255.
<?php
$url = "https://files.justimmo.at/public/pic/small/AYVHEJz-jk.jpg";
$parts = parse_url($url);
$path = explode('/',$parts['path']);
$path[1] = 'orig';
$parts['path'] = implode('/',$path)
echo http_build_url($parts);