PHP code example of flextype-components / debug

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

    

flextype-components / debug example snippets


use Flextype\Component\Debug\Debug;

Debug::elapsedTimeSetPoint('point_name');

echo Debug::elapsedTime('point_name');

 Debug::memoryUsageSetPoint('point_name');
 

echo Debug::memoryUsage('point_name');

Debug::dump($data);

Debug::phpini();

Debug::extensions();

Debug::constants();

Debug::functions();

Debug::

Debug::interfaces();

Debug::classes();