Php/docs/internals2.opcodes.fetch-dim-w

提供:Dev Guides
< Php
2020年12月14日 (月) 10:51時点におけるNotes (トーク | 投稿記録)による版 (autoload)
(差分) ← 古い版 | 最新版 (差分) | 新しい版 → (差分)
移動先:案内検索

FETCH_DIM_W

PHP コード

<?php/* * Fetch the value of the element at "index" in "array-value" to store it in "result".  Write-only? * opcode number: 84 */$a = 1;while($a > 0){    $a = 0;}/*$input =array(1,2,3);while (list($var,) = @each($input)){    unset($$var);}*//*$a = array(1,2,3);$x = 'a';$$x[0] = 1;*//*while ($b = each($a)) {  print $b;}*/?>

PHP オペコード

関数名: (null)

コンパイルされた変数: !0=$a

line # op fetch ext return operands
6 0 ASSIGN       !0,1
7 1 IS_SMALLER     ~1 0,!0
  2 JMPZ       ~1,->5
8 3 ASSIGN       !0,0
9 4 JMP       ->1
23 5 RETURN       1