fix calendar css, take 2. (#213)
[openemr.git] / interface / modules / zend_modules / library / Zend / Filter / Null.php
blobd696d49b8be3fcfb006de99c924576c12b14e7fa
1 <?php
2 /**
3 * Zend Framework (http://framework.zend.com/)
5 * @link http://github.com/zendframework/zf2 for the canonical source repository
6 * @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
7 * @license http://framework.zend.com/license/new-bsd New BSD License
8 */
10 namespace Zend\Filter;
12 /**
13 * Stub class for backwards compatibility.
15 * Since PHP 7 adds "null" as a reserved keyword, we can no longer have a class
16 * named that and retain PHP 7 compatibility. The original class has been
17 * renamed to "ToNull", and this class is now an extension of it. It raises an
18 * E_USER_DEPRECATED to warn users to migrate.
20 * @deprecated
22 class Null extends ToNull
24 /**
25 * {@inheritdoc}
27 public function __construct($typeOrOptions = null)
29 trigger_error(
30 sprintf(
31 'The class %s has been deprecated; please use %s\\ToNull',
32 __CLASS__,
33 __NAMESPACE__
35 E_USER_DEPRECATED
38 parent::__construct($typeOrOptions);