mirror of
https://gitlab.com/TheGamecraft/c-cms.git
synced 2026-05-15 12:38:24 -04:00
Include Vendor
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
Anonymous classes
|
||||
-----
|
||||
<?php
|
||||
new class
|
||||
($x)
|
||||
extends X
|
||||
{ };
|
||||
-----
|
||||
$new = $stmts[0]->expr;
|
||||
$new->class->extends = null;
|
||||
$new->args[] = new Expr\Variable('y');
|
||||
-----
|
||||
<?php
|
||||
new class
|
||||
($x, $y)
|
||||
{ };
|
||||
Reference in New Issue
Block a user