Answers for "alternate to sleep function in php"

PHP
1

sleep function in php

<?php
echo date('h:i:s').'<br>'; //hour:minute:second
sleep(10); //10 seconds
echo date('h:i:s');
?>
Posted by: Guest on September-10-2021
0

sleep php

<?php
    sleep(4);
    echo "Done\n";
?>
Posted by: Guest on August-10-2020

Browse Popular Code Answers by Language