This is wrong. ``__DIR__.'/../src/app.php'`` is not thee phar but the file in which your app is configured.

Your new code is totally useless as you are running an empty application.