3v4l.org

run code in 300+ PHP versions simultaneously
<?php //PHPの関数 //様々な関数 $a[0] = "0"; //empty関数 /*以下の場合にTRUE ・空白の数値 ・NULLやFALSE ・変数が定義されただけの状態 ・文字列の半角の0 ・配列、数値の0 */ echo empty($a[0]).PHP_EOL; echo empty($a).PHP_EOL;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/pRckU
function name:  (null)
number of ops:  9
compiled vars:  !0 = $a
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    5     0  E >   ASSIGN_DIM                                               !0, 0
          1        OP_DATA                                                  '0'
   15     2        ISSET_ISEMPTY_DIM_OBJ                         1  ~2      !0, 0
          3        CONCAT                                           ~3      ~2, '%0A'
          4        ECHO                                                     ~3
   16     5        ISSET_ISEMPTY_CV                                 ~4      !0
          6        CONCAT                                           ~5      ~4, '%0A'
          7        ECHO                                                     ~5
   17     8      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
160.7 ms | 1392 KiB | 13 Q