PHP Classes

File: examples/setInterval.php

Recommend this page to a friend!
  Classes of Ahmad Mustapha  >  React PHP Timer Loop  >  examples/setInterval.php  >  Download  
File: examples/setInterval.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: 1 year ago
Size: 234 bytes


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

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


setInterval(1.4, function(){
$counter = 1;
"Count: {$counter}\n";


For more information send a message to info at phpclasses dot org.