Created
February 20, 2017 08:40
-
-
Save bilalucar/cedd5900614c1ca350c047e3d0147e29 to your computer and use it in GitHub Desktop.
PSR-1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// side effect: change ini settings | |
ini_set('error_reporting', E_ALL); | |
// PHP 5.3 and later: | |
namespace ProjeAdi\Model; | |
class Foo | |
{ | |
} | |
// PHP 5.2.x and earlier: | |
class ProjeAdi_Model_Foo | |
{ | |
} | |
class Foo | |
{ | |
const VERSION = '1.0'; | |
const DATE_APPROVED = '2012-06-01'; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment