略微加速

PHP官方手册 - 互联网笔记

PHP - Manual: BRK

2024-04-24

BRK

PHP code

<?php
/*
 * ???  End of a case block exists the current switch block.  Followed by JMP?
 * opcode number: 50
 */
$x 0;
while(
1) {
    if(
$x == 0) break;
}
?>

PHP opcodes

Function name: (null)

Compiled variables: !0=$x

line#op fetchextreturn operands
60 ASSIGN     !0,0
71 JMPZ     1,->7
82 IS_EQUAL   ~1 !0,0
 3 JMPZ     ~1,->6
 4 BRK     1
 5 JMP     ->6
96 JMP     ->1
107 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.brk.php

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