3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = []; $b = [1, 2]; $c = getimagesize('https://www.google.ch/logos/doodles/2015/bks-iyengars-97th-birthday-5749978756546560-5730192894984192-ror.gif'); var_dump(!$a, !$b, !$c); var_dump(empty($a), empty($b), empty($c)); var_dump($c);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/3Xa0a
function name:  (null)
number of ops:  26
compiled vars:  !0 = $a, !1 = $b, !2 = $c
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, <array>
    4     1        ASSIGN                                                   !1, <array>
    5     2        INIT_FCALL                                               'getimagesize'
          3        SEND_VAL                                                 'https%3A%2F%2Fwww.google.ch%2Flogos%2Fdoodles%2F2015%2Fbks-iyengars-97th-birthday-5749978756546560-5730192894984192-ror.gif'
          4        DO_ICALL                                         $5      
          5        ASSIGN                                                   !2, $5
    7     6        INIT_FCALL                                               'var_dump'
          7        BOOL_NOT                                         ~7      !0
          8        SEND_VAL                                                 ~7
          9        BOOL_NOT                                         ~8      !1
         10        SEND_VAL                                                 ~8
         11        BOOL_NOT                                         ~9      !2
         12        SEND_VAL                                                 ~9
         13        DO_ICALL                                                 
    8    14        INIT_FCALL                                               'var_dump'
         15        ISSET_ISEMPTY_CV                                 ~11     !0
         16        SEND_VAL                                                 ~11
         17        ISSET_ISEMPTY_CV                                 ~12     !1
         18        SEND_VAL                                                 ~12
         19        ISSET_ISEMPTY_CV                                 ~13     !2
         20        SEND_VAL                                                 ~13
         21        DO_ICALL                                                 
    9    22        INIT_FCALL                                               'var_dump'
         23        SEND_VAR                                                 !2
         24        DO_ICALL                                                 
         25      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
157.43 ms | 1395 KiB | 17 Q