Files
varlog/data/45ecbbd9-38ed-4ec4-88e4-9527307cf2a0/index.md
T

13 lines
378 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
![Nom de la section](dummy.png)
## PHP
La commande PHP, une fois validée, attendra du code PHP. Il faudra indiquer la code de fin de fichier (EOF, <kbd>Ctrl</kbd> + <kbd>D</kbd>) pour que le code PHP sexécute.
![](20220320-063404.png)
## PHP -r
On peut utiliser l'option `-r`, qui execute le code PHP sans utiliser les tags `<? ... ?>`
```
php -r 'echo date("c");'
```