On Tue, Jan 14, 2014 at 8:39 AM, Jeroen De Dauw <[email protected]>wrote:
> Hey, > > > can you use a phar file for loading a library and not just executing a > script? > > Yeah, you can include the phar (with a PHP include statement). > > > Can we use the phar in core? > > Sure. One reason I've seen brought forward to bundle such a phar with a > project is that then everyone runs the same version of PHPUnit. > > Well, we shouldn't bundle it, but it'd be nice to use it if you've got it, rather than having PHPUnit installed in your include_path Something like: `php phpunit.php --phar=/foo/bar/phpunit.phar` would be fantastic imho. -Chad _______________________________________________ Wikitech-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikitech-l
