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 | |
class Debug | |
{ | |
public function getTest($x) | |
{ | |
if ( !is_numeric($x) ) { | |
throw new Exception('This not number'); | |
} | |
return $x; |
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 | |
interface Info | |
{ | |
public function channelMessage(); | |
} | |
abstract class Live | |
{ | |
const RANGE = 10; | |
protected $point = 0; |