Php/docs/internals2.opcodes.unset-dim

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

UNSET_DIM

PHP コード

<?php/* * Unset the entry of array-value, which is specified by index, and store the original element value into "result". * opcode number: 75 */$a = array(1,2,3);unset($a[0]);?>

PHP オペコード

関数名: (null)

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

line # op fetch ext return operands
6 0 INIT_ARRAY     ~0 1
  1 ADD_ARRAY_ELEMENT     ~0 2
  2 ADD_ARRAY_ELEMENT     ~0 3
  3 ASSIGN       !0,~0
7 4 UNSET_DIM     $2 !0,0
8 5 RETURN       1