memory arenas (sort of)

This commit is contained in:
udo
2021-12-27 23:54:15 +00:00
parent 3bc6fe7f90
commit 0889c69582
10 changed files with 240 additions and 261 deletions
+4
View File
@@ -29,8 +29,12 @@ RENDER()
<pre><?
print("Worker PID: ", my_pid, "\n");
print("Parent PID: ", parent_pid, " \n");
print("Output buffer size: ", context->ob->str().length(), " \n");
?></pre>
<pre><?= (var_dump(p)) ?></pre>
<div><?
print("Output buffer size: ", context->ob->str().length(), " \n");
?></div>
</>
String test;
+5 -1
View File
@@ -21,7 +21,6 @@ RENDER()
MySQL con;
if(con.connect("localhost", "root", ""))
{
print("connection established\n");
print("error: "+con.error()+"\n");
print("quotation test: "+con.escape("\"' or 1=1;.")+"\n");
print("query parse: "+con.parse_query_parameters(query, params)+"\n");
@@ -38,8 +37,13 @@ RENDER()
}
?></pre>
<div><?
print("connection status: ", con.statement_info, "\n");
?></div>
<label>CGI Params</label>
<pre><?= var_dump(context->params) ?></pre>
</html></>
+1 -1
View File
@@ -2,5 +2,5 @@
RENDER()
{
echo("Sub-Invoke Working dir: " + get_cwd() + "\n");
print("Sub-Invoke Working dir: ", get_cwd(), "\n");
}