3v4l.org

run code in 300+ PHP versions simultaneously
<?php $data = [ ['post_content' => '<td><b> Lenovo </b></td>'], ['post_content' => '<td><b> Dell </b></td>'], ]; array_walk($data, function(&$value, $key) { $value['post_content'] = trim(strip_tags($value['post_content'])); }); print_r($data);

This is an error 500

Value for `_results` contains invalid data `array`


preferences:
162.54 ms | 2033 KiB | 14 Q