How to get the Zend Framework (1) version from a standalone file.
create your index.php and echo the 'VERSION' const or just open Zend/Version.php
for Zend 1
<?php
require_once 'Zend/Version.php';
echo Zend_Version::VERSION;
?>
for Zend 2
<?php
require_once 'Zend/Version/Version.php';
echo Zend\Version\Version::VERSION;
?>
create your index.php and echo the 'VERSION' const or just open Zend/Version.php
for Zend 1
<?php
require_once 'Zend/Version.php';
echo Zend_Version::VERSION;
?>
for Zend 2
<?php
require_once 'Zend/Version/Version.php';
echo Zend\Version\Version::VERSION;
?>
Comments
Post a Comment