1<?php 2$loop = uv_default_loop(); 3 4$queue = uv_queue_work($loop, function(){ 5 echo "[queue]"; 6}, function(){ 7 echo "[finished]"; 8}); 9 10 11uv_run(); 12 13