3v4l.org

run code in 300+ PHP versions simultaneously
<?php define('FILEPATH', '/foo/'); $upload = array( 'path' => FILEPATH . 'assets/uploads/', // Get Parse error: syntax error, unexpected '.', expecting ')' 'allowed_types' => 'gif|jpg|png' );

preferences:
44.75 ms | 407 KiB | 5 Q