
PHP Coding Challenge
- or -
Post a project like this2362
£50(approx. $67)
- Posted:
- Proposals: 7
- Remote
- #2451863
- Awarded
Full Stack Developer |Wordpress |PHP|NodeJs|Laravel |Web & Graphic Design|Woocommerce| SEO|SMM|PPC|
429965202757327015162588163174329026792232820789
Description
Experience Level: Entry
OK, so a fries is a bit behind with some coursework and has been set the following challenge.
This task will need to demonstrate ability with core programming concepts, such as control-flow statements, conditional statements, array and object manipulation.
Demonstrate your coding style, and good general code organisation skills. The requirement is purposefully lightweight - anything that isn't self-evident, please make the most appropriate assumption.
The Requirement
You should create a PHP script to take a given XML structure, and convert it to a JSON object. Sounds easy right? You need to do this manually - using native PHP XML parsing modules, loops and array / collection parsing. So no json_encode/json_decode, or saving the XML to the filesystem and using readFromFile type techniques!
The Deliverables
1. A single PHP script file containing your structured coding solution. This should work from an online PHP runner such as http://www.writep hponline.com
2. A cover note explaining your solution and anything else you feel warrants an explanation.
Extra consideration will be given to your application for:
Any XML validation
Proper error handling
Unit testing
Any additional (relevant) functionality
XML file will be provided on acceptance.
This task will need to demonstrate ability with core programming concepts, such as control-flow statements, conditional statements, array and object manipulation.
Demonstrate your coding style, and good general code organisation skills. The requirement is purposefully lightweight - anything that isn't self-evident, please make the most appropriate assumption.
The Requirement
You should create a PHP script to take a given XML structure, and convert it to a JSON object. Sounds easy right? You need to do this manually - using native PHP XML parsing modules, loops and array / collection parsing. So no json_encode/json_decode, or saving the XML to the filesystem and using readFromFile type techniques!
The Deliverables
1. A single PHP script file containing your structured coding solution. This should work from an online PHP runner such as http://www.writep hponline.com
2. A cover note explaining your solution and anything else you feel warrants an explanation.
Extra consideration will be given to your application for:
Any XML validation
Proper error handling
Unit testing
Any additional (relevant) functionality
XML file will be provided on acceptance.
Vincent H.
100% (92)Projects Completed
67
Freelancers worked with
60
Projects awarded
25%
Last project
21 Oct 2025
United Kingdom
New Proposal
Login to your account and send a proposal now to get this project.
Log inClarification Board Ask a Question
-
There are no clarification messages.
We collect cookies to enable the proper functioning and security of our website, and to enhance your experience. By clicking on 'Accept All Cookies', you consent to the use of these cookies. You can change your 'Cookies Settings' at any time. For more information, please read ourCookie Policy
Cookie Settings
Accept All Cookies