--TEST-- Check for missing tag in child --SKIPIF-- --FILE-- [ 'type' => BBCODE::TYPE_ROOT, 'child' => ['missing'] ] ] ); } catch (Exception $e) { echo $e->getMessage(); } --EXPECT-- BBCode::__construct(): Child value missing for key [0]/child[1] is not present in tag keys