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
Enabling profiling during request may not work as expected because of PHP
optimizations and observer behavior. Using MEMPROF_PROFILE is now the
only way to enable profiling.
if (zend_parse_parameters(ZEND_NUM_ARGS(), "") ==FAILURE) {
1799
-
return;
1800
-
}
1801
-
1802
-
if (MEMPROF_G(profile_flags).enabled) {
1803
-
zend_throw_exception(EG(exception_class), "memprof_enable(): memprof is already enabled", 0);
1804
-
return;
1805
-
}
1806
-
1807
-
zend_error(E_WARNING, "Calling memprof_enable() manually may not work as expected because of PHP optimizations. Prefer using MEMPROF_PROFILE=1 as environment variable, GET, or POST");
0 commit comments