1 | <?php |
||
9 | class ComodoDecodeCSRTest extends XigenUnit |
||
10 | { |
||
11 | private $validMD5 = "244A9E11A76D297F0816A92F477DF543"; |
||
12 | private $validSHA1 = "8FC930D6EDE2844D9DA147F9928178AEFB5B7E89"; |
||
13 | |||
14 | public function setUp() |
||
18 | |||
19 | public function testSettingCSR() |
||
30 | |||
31 | public function testGettingHashes() |
||
40 | } |
||
41 |
In PHP it is possible to write to properties without declaring them. For example, the following is perfectly valid PHP code:
Generally, it is a good practice to explictly declare properties to avoid accidental typos and provide IDE auto-completion: