Source for file compatibility.php
Documentation is available at compatibility.php
- 1: <?php
- 3: /**
- 4: * Nette Framework
- 5: *
- 6: * Copyright (c) 2004, 2009 David Grudl (http://davidgrudl.com)
- 7: *
- 8: * This source file is subject to the "Nette license" that is bundled
- 9: * with this package in the file license.txt.
- 10: *
- 11: * For more information please see https://nette.org
- 12: *
- 19: */
- 23: /**
- 24: * Check PHP configuration.
- 25: */
- 28: }
- 34: /**
- 35: * Fix for class::method callback in PHP < 5.2.2
- 36: */
- 39: {
- 40: // __invoke support
- 44: }
- 46: // explode 'Class::method' into array
- 49: }
- 51: // remove class namespace
- 54: }
- 55: }
- 59: {
- 60: // remove class namespace and support __invoke
- 69: }
- 70: }
- 71: }
- 74: /**
- 75: * Fix for namespaced classes/interfaces in PHP < 5.3
- 76: */
- 78: {
- 81: }
- 82: }