略微加速

PHP官方手册 - 互联网笔记

PHP - Manual: JMPZ

2024-12-27

JMPZ

PHP code

<?php
/*
 * Jump to the address if the value is zero
 * opcode number: 43
 */
if($a != 0) echo "foo";
?>

PHP opcodes

Function name: (null)

Compiled variables: !0=$a

line#op fetchextreturn operands
60 IS_NOT_EQUAL   ~0 !0,0
 1 JMPZ     ~0,->4
 2 ECHO     'foo'
 3 JMP     ->4
74 RETURN     1
add a note add a note

User Contributed Notes

There are no user contributed notes for this page.

官方地址:https://www.php.net/manual/en/internals2.opcodes.jmpz.php

北京半月雨文化科技有限公司.版权所有 京ICP备12026184号-3