You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if code can be run on compile time (constant expr), all hooks, used for ex. by coverage libs like xdebug, must still be called in the same order as if the code was not optimized on compile time
examples:
code with always constant expr:
$v2
=
(bool)
1
;
the cast operation can be always evaluated/optimized on compile time, but cast operation hook must be always emit
code with sometimes constant expr:
$v3
=
(bool)
AType::OPT
;
same as the first example when AType class was loaded before this example was included/compiled