PHP code example of nizerin / swoole-ide-helper
1. Go to this page and download the library: Download nizerin/swoole-ide-helper library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
nizerin / swoole-ide-helper example snippets
/**
* @param $fd
* @param $data
* @param $opcode
* @param $finish
* @return mixed
*/
public function push($fd, $data, $opcode = null, $finish = null){}
/**
* @param int $fd
* @param mixed $data
* @param int $opcode
* @param bool $finish
* @return mixed
*/
public function push(int $fd, $data, int $opcode = null, bool $finish = null){}
bash
php dump.php