<?php const code = '2'; class X { private array $code = []; function foo() { return (string) $this<-code; } function __toString(){ return "1"; } } var_dump((new x)->foo());
You have javascript disabled. You will not be able to edit any code.