PHP code example of horde / phpconfigfile

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

    

horde / phpconfigfile example snippets



$data = [

  'key' => 'value',
  'key2' => [
               'nested => 'values', 
               'of_any' => ['possible' =>  'format' ],

            ],
];



$debug = true;
$max_errors = 23;
$initial_application_page = 'News';