<?php
$data = [
[
'pid' => 13,
'append_edit' => 0,
'edit_time' => NULL,
'author_id' => 1,
'author_name' => 'z1haze',
'ip_address' => '192.168.10.1',
'post_date' => 1482080565,
'post' => '<p>
A reply just to get one to show up on the main site so i can work on this shit
</p>',
'queued' => 0,
'topic_id' => 8,
'new_topic' => 0,
'edit_name' => NULL,
'post_key' => '0',
'post_htmlstate' => 0,
'post_edit_reason' => '',
'post_bwoptions' => 0,
'pdelete_time' => 0,
'post_field_int' => 0,
'post_field_t1' => NULL,
'post_field_t2' => NULL,
],
];
echo json_encode($data);
[{"pid":13,"append_edit":0,"edit_time":null,"author_id":1,"author_name":"z1haze","ip_address":"192.168.10.1","post_date":1482080565,"post":"<p>\nA reply just to get one to show up on the main site so i can work on this shit\n<\/p>","queued":0,"topic_id":8,"new_topic":0,"edit_name":null,"post_key":"0","post_htmlstate":0,"post_edit_reason":"","post_bwoptions":0,"pdelete_time":0,"post_field_int":0,"post_field_t1":null,"post_field_t2":null}]
Output for 8.3.5
Warning: PHP Startup: Unable to load dynamic library 'sodium.so' (tried: /usr/lib/php/8.3.5/modules/sodium.so (libsodium.so.23: cannot open shared object file: No such file or directory), /usr/lib/php/8.3.5/modules/sodium.so.so (/usr/lib/php/8.3.5/modules/sodium.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
[{"pid":13,"append_edit":0,"edit_time":null,"author_id":1,"author_name":"z1haze","ip_address":"192.168.10.1","post_date":1482080565,"post":"<p>\nA reply just to get one to show up on the main site so i can work on this shit\n<\/p>","queued":0,"topic_id":8,"new_topic":0,"edit_name":null,"post_key":"0","post_htmlstate":0,"post_edit_reason":"","post_bwoptions":0,"pdelete_time":0,"post_field_int":0,"post_field_t1":null,"post_field_t2":null}]