We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 6aeaf75 + dff51fe commit d21d2d9Copy full SHA for d21d2d9
inc/class-profiler.php
@@ -122,6 +122,10 @@ public function run() {
122
*/
123
public function wp_tick_profile_begin( $value = null ) {
124
125
+ if ( version_compare( PHP_VERSION, '7.0.0' ) >= 0 ) {
126
+ WP_CLI::error( "Profiling intermediate hooks is broken in PHP 7, see https://bugs.php.net/bug.php?id=72966" );
127
+ }
128
+
129
// Disable opcode optimizers. These "optimize" calls out of the stack
130
// and hide calls from the tick handler and backtraces.
131
// Copied from P3 Profiler
0 commit comments