Location: PHPKode > scripts > Platform_pear > platform_pear/Pear/example.php
<?php

$v = phpversion();
if ( intval( substr( $v, 0, 1 ) ) >= 5 ) {
	require_once( 'class5.php' );
	var_dump( Platform_pear_v5::check_module( 'Auth/HTTP.php' ) );
} elseif ( substr( $v, 0, 1 ) == '4' ) {
	require_once( 'class.php' );
	var_dump( Platform_pear::check_module( 'Auth/HTTP.php' ) );
} else {
	require_once( 'proc.php' );
	var_dump( platform_pear_check_module( 'Auth/HTTP.php' ) );
}

?>
Return current item: Platform_pear