eval.in

Paste #53504

PHP — PHP 5.5.1, pasted 1 year ago

1
2
3
4
<?php
function get_some_function() { return true; }
$src = get_some_function();
    echo "<script src=$src/js/main.js></script>";

Program Output

<script src=1/js/main.js></script>

OK (0.008 sec real, 0.006 sec wall, 14 MB, 42 syscalls)

Fork