Skip to content

Latest commit

 

History

History
11 lines (8 loc) · 136 Bytes

InvalidCast.md

File metadata and controls

11 lines (8 loc) · 136 Bytes

InvalidCast

Emitted when attempting to cast a value that's not castable

<?php

class A {}
$a = new A();
$b = (string)$a;