PHP Velho Oeste 2024

NOP

PHP コード

<?php
/*
 * no operation
 * opcode number: 0
 */
function A(){}; 
?>

PHP オペコード

関数名: (null)

コンパイルされた変数: none

line#op fetchextreturn operands
60 NOP      
71 RETURN     1

関数名: A

コンパイルされた変数: none

line#op fetchextreturn operands
60 RETURN     null
add a note add a note

User Contributed Notes 1 note

up
0
JShor
4 years ago
Is there no native "noop" callback function?  It seems you have to define the noop function in this way each time you want to pass a noop callback.
To Top