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 http://nettephp.com
- 12: *
- 18: */
- 22: /**
- 23: * Check PHP configuration.
- 24: */
- 27: }
- 33: /**
- 34: * Fix for class::method callback in PHP < 5.2.2
- 35: */
- 38: {
- 39: // __invoke support
- 43: }
- 45: // explode 'Class::method' into array
- 48: }
- 50: // remove class namespace
- 53: }
- 54: }
- 58: {
- 59: // remove class namespace and support __invoke
- 68: }
- 69: }
- 70: }
- 73: /**
- 74: * Fix for namespaced classes/interfaces in PHP < 5.3
- 75: */
- 77: {
- 80: }
- 81: }