|
How create php interface extension
|
| View previous topic :: View next topic |
| Author |
Message |
Koc Guest Programmer
|
| Quote: |
<?php
interface IA
{
public static function func($var);
}
class A implements IA
{
public static function func($var)
{
return $var * 2;
}
} |
Hello. I need to write extension for PHP. Something like code on top. How I can create this?
Reply with quote
|
| |
|
|
Caleb Monte New Programmer
Joined: 29 Jun 2009 Posts: 1
|
As the newest database extension, SQLite is fortunate in not having legacy code, unlike older extensions such as MySQL, which must maintain obsolete behavior for backwards compatibility reasons. It also allows the extension to utilize the newest PHP features to attain the highest level of performance and functionality. The developers of the extension have made it easy for users to migrate from other database systems to SQLite, by keeping the interface similar to those already implemented in PHP.
Reply with quote
|
| |
|
|
|