Answers for "sleepp to php today"

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 January-05-2021

Browse Popular Code Answers by Language