Page MenuHomePhorge

default-parameters.lint-test
No OneTemporary

default-parameters.lint-test

<?php
function foo($x, $y, $z) {}
function bar($x, $y = null, $z) {}
function baz($x = null, $y = null, $z = null) {}
class MyClass {
public function myMethod($x, $y = null, $z) {}
}
~~~~~~~~~~
warning:3:13
error:6:7
warning:7:27

File Metadata

Mime Type
text/x-php
Expires
Thu, Mar 27, 01:40 (1 w, 3 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1146031
Default Alt Text
default-parameters.lint-test (233 B)

Event Timeline