swoole_table->create
�����ڴ��
swoole_table->create()
- �����ñ�Ľṹ��ִ��create����
swoole_tableʹ�ù����ڴ����������ݣ��ڴ����ӽ���ǰ�����Ҫִ��swoole_table->create()
swoole_server��ʹ��swoole_table��swoole_table->create() ������swoole_server->start()ǰִ��
$table = new swoole_table(1024); $table->column('id', swoole_table::TYPE_INT, 4); //1,2,4,8 $table->column('name', swoole_table::TYPE_STRING, 64); $table->column('num', swoole_table::TYPE_FLOAT); $table->create(); $worker = new swoole_process('child1', false, false); $worker->start(); //$serv = new swoole_server('127.0.0.1', 9501); //$serv->start();