PHP code example of radioactivehamster / reflect

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

    

radioactivehamster / reflect example snippets




$classReflection    = RadHam\Reflect::factory('PDO');
$constantReflection = RadHam\Reflect::factory('E_ERROR');
$functionReflection = RadHam\Reflect::factory('trim'):
$stringReflection   = RadHam\Reflect::factory('Hello world!');