Created
January 19, 2019 03:39
-
-
Save neloy-ahmed/6e2299e6e60d997a1065bc3ecccfa9c8 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); | |
//Fatal error: Interface function World::show_info() cannot contain body | |
public function show_info(){ | |
print "This is an interface for World"; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment