Se connecter
Programmation › PHP › PHP CLI
exit-5.php: <?php exit(5); php exit-5.php; echo $? # print 5 return-5.php <?php return 5; php return-5.php; echo $? # print 0
php -r 'echo php_sapi_name();' # print 'cli'
Lire les commentaires | Laisser un commentaire