mirror of
https://github.com/Erreur32/cheat.git
synced 2024-12-22 21:52:12 +01:00
Added more cheats to the php cheatsheet.
This commit is contained in:
parent
bbbe9193e0
commit
c460bfdb31
1 changed files with 9 additions and 3 deletions
|
@ -4,12 +4,18 @@ php -v
|
|||
# To view the installed php modules:
|
||||
php -m
|
||||
|
||||
# To enter an interactive shell:
|
||||
php -a
|
||||
|
||||
# To view phpinfo() information:
|
||||
php -i
|
||||
|
||||
# To lint a php file:
|
||||
php -l file.php
|
||||
|
||||
# To lint all php files within the cwd:
|
||||
find . -name "*.php" -print0 | xargs -0 -n1 -P8 php -l
|
||||
|
||||
# To enter an interactive shell:
|
||||
php -a
|
||||
|
||||
# To locate the system's php.ini files:
|
||||
php -i | grep "php.ini"
|
||||
|
||||
|
|
Loading…
Reference in a new issue