Skip to content

Instantly share code, notes, and snippets.

@neloy-ahmed
Created January 19, 2019 03:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save neloy-ahmed/6e2299e6e60d997a1065bc3ecccfa9c8 to your computer and use it in GitHub Desktop.
Save neloy-ahmed/6e2299e6e60d997a1065bc3ecccfa9c8 to your computer and use it in GitHub Desktop.
<?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