3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
152.04 ms | 1384 KiB | 13 Q