php - Language anomaly. Curious jump -
i have section of code following structure.
if ( isset( $x) ){ error_log("a"); $a = f(); error_log("b"); } error_log("c");
the error log has entries
a c
i no other entries in error log.
i have narrowed odd behavior down api call, phpcas::isauthenticated()
, phpcas v1.3.2, inside f().
how possible code skip call error_log("b")
? language construct allows this?
are sure log 'c' 1 ? can log file , line if error handler hasn't information.
if 3 logs ones, sure code ? don't have things before or after call of f() ?
you may have code deactivate logs or change handler, reactivate or reset old handler. can search strings "set_error_handler", "ini_set", "error_log"...
if "f()" uses classes instances, @ contructor , destructor of class , not in methods specificaly called.
Comments
Post a Comment