PHP Classes

PHP DataType class: Convert XML or object to arrays or array to object

Recommend this page to a friend!
  Info   View files Documentation   View files View files (4)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 137 All time: 9,247 This week: 206Up
Version License PHP version Categories
php-datatype-class 1.0.0MIT/X Consortium ...5PHP 5, Data types


This package can convert XML or object to arrays or array to object.

It can take an array and creates an object of stdClass with variables set to values from the array.

The class can also take an object an create an associative array from variable value of the object.

It also can take a XML document and converts it into an object with the same structure.

Picture of Muhammad Umer Farooq
Name: Muhammad Umer Farooq is available for providing paid consulting. Contact Muhammad Umer Farooq .
Classes: 52 packages by
Country: Pakistan Pakistan
Age: 22
All time rank: 84411 in Pakistan Pakistan
Week rank: 275 Up6 in Pakistan Pakistan Up
Innovation award
Innovation award
Nominee: 6x


PHP DataType class

This package convert following.


  1. Convert Array to Object
  2. Convert Object to Array
  3. Convert XML to Array

  Files folder image Files  
File Role Description
Files folder imageclasses (1 file)
Accessible without login Plain text file index.php Example Examples
Accessible without login Plain text file LICENSE Lic. License text
Accessible without login Plain text file Doc. Documentation

  Files folder image Files  /  classes  
File Role Description
  Plain text file DataType.php Class Class source

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:9,247
This week:206Up