rfc:get_debug_type
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
rfc:get_debug_type [2020/03/01 13:21] – marandall | rfc:get_debug_type [2020/03/16 11:44] – marandall | ||
---|---|---|---|
Line 3: | Line 3: | ||
* Date: 2020-02-15 | * Date: 2020-02-15 | ||
* Author: Mark Randall, marandall@php.net | * Author: Mark Randall, marandall@php.net | ||
- | * Status: | + | * Status: |
* First Published at: https:// | * First Published at: https:// | ||
Line 17: | Line 17: | ||
// must be present to convert long-form " | // must be present to convert long-form " | ||
throw new TypeError(' | throw new TypeError(' | ||
+ | } | ||
+ | |||
+ | // would become | ||
+ | if (!($bar instanceof Foo)) { | ||
+ | throw new TypeError(' | ||
} | } | ||
rfc/get_debug_type.txt · Last modified: 2020/08/01 23:41 by carusogabriel