PHP Classes

File: examples/setTimeout.php

Recommend this page to a friend!
  Classes of Ahmad Mustapha   React PHP Timer Loop   examples/setTimeout.php   Download  
File: examples/setTimeout.php
Role: Example script
Content type: text/plain
Description: Example script
Class: React PHP Timer Loop
Call functions after a given time like JavaScript
Author: By
Last change:
Date: 3 years ago
Size: 189 bytes


Class file image Download
require(dirname(__DIR__, 3).'/autoload.php');

$loop = React\EventLoop\Factory::create();


setTimeout(0.8, function(){
"Hello World :)\n";