...

/

Challenge: Performing Data Operations with PHP 8 Extensions

Challenge: Performing Data Operations with PHP 8 Extensions

A hands-on exercise to test your knowledge of avoiding traps while using PHP 8 extensions.

This challenge will extensively test your understanding of PHP 8 extensions. We will use these concepts to implement the hierarchy tree of a family with PHP and SimpleXML extensions.

Task 1

Implement the following family tree:

Press + to interact
Tree-structured data
Tree-structured data

Question 1

  • Write an XML code snippet in the tree.xml file representing a family tree with specific information about family members, their genders, and their relationships.

  • The tree includes individuals named Stephan, Alex, Costa, Bathesda, Julia, Micheal, John, Lilli, and Jonathan.

Instructions

In the provided XML code, create a family tree structure according to the relationships and information given. ...