Created
January 19, 2019 04:13
-
-
Save neloy-ahmed/f61fac294e8f6609c987bcaa45ef44d0 to your computer and use it in GitHub Desktop.
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 World{ | |
public function draw_map($country_name); | |
public function draw_flag($country_name); | |
const b = 'Interface constant'; | |
//Fatal error: Interfaces may not include member variables | |
public $var1 = 'hello ' . 'world'; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment