Write a PHP script to delay the program execution for the given number of seconds
- برمجة بي اتش بي
- 2021-09-08
- mhanasmh00489829403
الأجوبة
<?php
// current time
echo date('h:i:s') . "\n";
// sleep for 5 seconds
sleep(5);
// wake up
echo date('h:i:s')."\n";
?>
Sample Output:
02:47:42 02:47:47
أسئلة مشابهة
القوائم الدراسية التي ينتمي لها السؤال