3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
185.79 ms | 1392 KiB | 13 Q