PHP code example of dcarbone / xml-primitive-types

1. Go to this page and download the library: Download dcarbone/xml-primitive-types library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

dcarbone / xml-primitive-types example snippets




ory = new \DCarbone\XMLPrimitiveTypes\XMLPrimitiveTypeFactory();

$xmlInt = $factory->getPrimitiveType('int', 500);

var_dump($xmlInt);