PHP 8.5.0 RC 2 available for testing

Voting

: max(six, six)?
(Example: nine)

The Note You're Voting On

bishop
15 years ago
Incidentally, abstract classes do not need to be base classes:

<?php
class Foo {
public function
sneeze() { echo 'achoooo'; }
}

abstract class
Bar extends Foo {
public abstract function
hiccup();
}

class
Baz extends Bar {
public function
hiccup() { echo 'hiccup!'; }
}

$baz = new Baz();
$baz->sneeze();
$baz->hiccup();
?>

<< Back to user notes page

AltStyle によって変換されたページ (->オリジナル) /