PHP code example of skyzyx / phpt
1. Go to this page and download the library: Download skyzyx/phpt 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/ */
skyzyx / phpt example snippets
var_dump(array(
'hello' => 'World',
'goodbye' => 'MrChips'
));
use Skyzyx\Components\PHPT;
$file = file_get_contents('sample.phpt');
$phpt = new PHPT($file);
$results = $phpt->get_section('FILE');
echo $results;
This would display the following:
var_dump(array(
'hello' => 'World',
'goodbye' => 'MrChips'
));