- Output for 7.0.0 - 7.0.31, 7.1.0 - 7.1.21, 7.2.0 - 7.2.9
- Fatal error: Constant expression contains invalid operations in /in/v6VMG on line 8
Process exited with code 255.
<?php
class A {
public $fillable = ['bola' => 1];
}
class B extends A {
public $fillable = [parent::$fillable, 'peixe' => 2];
}
print_r((new B)->fillable);