略微加速

PHP官方手册 - 互联网笔记

PHP - Manual: JMP

2024-12-21

JMP

PHP code

<?php 
/*
 * Unconditonally jump to the address
 * opcode number: 42
 */
$foo false;
while(!
$foo) {
    
$foo true;
}
?>

PHP opcodes

Function name: (null)

compiled vars: !0 = $foo

line#op fetchextreturn operands
60 ASSIGN     !0, false
71 BOOL_NOT   ~1 !0
 2 JMPZ     ~1, ->5
83 ASSIGN     !0, true
94 JMP     ->1
115 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.jmp.php

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