PHP code example of radsectors / urp

1. Go to this page and download the library: Download radsectors/urp 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/ */

    

radsectors / urp example snippets


use \radsectors\urp as urp;

urp::hello("Hello world.");
urp::number(7);
urp::try_this(4.893);
urp::label(true);
urp::items(['one' => 1, 'two' => 2, 'three' => 'green']);
urp::whatever(new \DateTime());