mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +02:00
Make PHP development tools files and scripts executable
This patch makes several scripts and PHP development tools files executable and adds more proper shebangs to the PHP scripts. The `#!/usr/bin/env php` shebang provides running the script via `./script.php` and uses env to find PHP script location on the system. At the same time it still provides running the script with a user defined PHP location using `php script.php`.
This commit is contained in:
parent
c1f7aae19c
commit
02294f0c84
15 changed files with 11 additions and 1 deletions
1
scripts/dev/check_parameters.php
Normal file → Executable file
1
scripts/dev/check_parameters.php
Normal file → Executable file
|
@ -1,3 +1,4 @@
|
|||
#!/usr/bin/env php
|
||||
<?php
|
||||
/*
|
||||
+----------------------------------------------------------------------+
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue