私はphpスクリプトexample1.phpを持っています
example1.php から別の php スクリプト example2.php を呼び出すと、制御フローはどのようになりますか。
たとえば、example1.php は次のようになります。
....
...
....
shell_exec("php -q example2.php") (calling example2.php from example1.php)
.....
.....
これに対して制御フローはどのように機能しますか? example1.php は、example2.php の実行が完了するまで待ってから、残りのコード ロジックを継続しますか、それとも、example2.php を独立して実行できるようにし続けますか?
ありがとう !