--TEST-- swoole_table: bug_2290 --SKIPIF-- --FILE-- column('h', \Swoole\Table::TYPE_STRING, 128); $table->column('b', \Swoole\Table::TYPE_STRING, 1024 * 512); $table->column('_e', \Swoole\Table::TYPE_INT); $table->create(); $headers = ['Content-Type' => 'text/html; charset=utf-8']; $body = << EOS; $value = ['h' => json_encode($headers, JSON_UNESCAPED_SLASHES | JSON_UNESCAPED_UNICODE), 'b' => $body]; $value['_e'] = time(); // Remove this line and the result is correct $table->set('test', $value); echo $table->get('test', 'b'); ?> --EXPECT--