PHP Classes

File: test.php

Recommend this page to a friend!
  Classes of Steven Hoyt  >  Encapsulate PHP Constants in Class  >  test.php  >  Download  
File: test.php
Role: Example script
Content type: text/plain
Description: Test script (demonstrate usage)
Class: Encapsulate PHP Constants in Class
Encapsulate several constants in the same class
Author: By
Last change:
Date: 2 years ago
Size: 355 bytes
 

Contents

Class file image Download
<?php
////////////////////////////////////////////////////////////
// required files
require_once 'application.class.php';
////////////////////////////////////////////////////////////
// main script
echo '<pre style="font:11px courier new; text-align:left;">' . print_r(array(Application::$paths::get(), Application::$roles::get()), true) . "</pre>\r\n";

For more information send a message to info at phpclasses dot org.