1<?php
2
3go(function(){
4    $swoole_mysql = new \Swoole\Coroutine\MySQL();
5
6    $swoole_mysql->connect([
7        'host' => '127.0.0.1',
8        'port' => 3306,
9        'user' => 'root',
10        'password' => 'root',
11        'database' => 'test',
12    ]);
13    $res = $swoole_mysql->escape("");
14    var_dump($res);
15});
16
17