Skip to content

Instantly share code, notes, and snippets.

@LocalCommit
Created April 16, 2015 00:48
Show Gist options
  • Save LocalCommit/9c3683cae406ac7d12db to your computer and use it in GitHub Desktop.
Save LocalCommit/9c3683cae406ac7d12db to your computer and use it in GitHub Desktop.
<?php
class classname {
function __construct($param) {
echo "Конструктор вызван с параметром " . $param . "<br />";
}
}
$a = new classname("Первый");
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment