PHP code example of kktsvetkov / wano

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

    

kktsvetkov / wano example snippets


	\Wano\Nab::register();

	\Wano\Nab::register(E_WARNING | E_USER_WARNING | E_NOTICE | E_USER_NOTICE);

	\Wano\Nab::$backtrace = E_WARNING | E_USER_WARNING;

	\Wano\Nab::setDisplay(new \Wano\Display\BasicDisplay);

	\Wano\Nab::error_log(E_USER_WARNING, 'egati probata', __FILE__, __LINE__);

	\Wano\Nab::registerErrorHandler();
	...

	// It's time, print what you have collected already
	\Wano\Nab::display();