3v4l.org

run code in 300+ PHP versions simultaneously
<?php function it($m,$p){static$s;!$m&&die($s);echo"\033[3".($p?'2m✔︎':($s=1).'m✘')." It $m\033[0m\n";}register_shutdown_function('it',0,0);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Tilp8
function name:  (null)
number of ops:  6
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'register_shutdown_function'
          1        SEND_VAL                                                 'it'
          2        SEND_VAL                                                 0
          3        SEND_VAL                                                 0
          4        DO_ICALL                                                 
          5      > RETURN                                                   1

Function it:
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 46) Position 1 = 5, Position 2 = 7
Branch analysis from position: 5
1 jumps found. (Code = 79) Position 1 = -2
Branch analysis from position: 7
2 jumps found. (Code = 43) Position 1 = 8, Position 2 = 10
Branch analysis from position: 8
1 jumps found. (Code = 42) Position 1 = 13
Branch analysis from position: 13
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 10
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Tilp8
function name:  it
number of ops:  20
compiled vars:  !0 = $m, !1 = $p, !2 = $s
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
          0  E >   RECV                                             !0      
          1        RECV                                             !1      
          2        BIND_STATIC                                              !2
          3        BOOL_NOT                                         ~3      !0
          4      > JMPZ_EX                                          ~3      ~3, ->7
          5    > > EXIT                                                     !2
          6*       BOOL                                             ~3      <true>
          7    > > JMPZ                                                     !1, ->10
          8    >   QM_ASSIGN                                        ~4      '2m%E2%9C%94%EF%B8%8E'
          9      > JMP                                                      ->13
         10    >   ASSIGN                                           ~5      !2, 1
         11        CONCAT                                           ~6      ~5, 'm%E2%9C%98'
         12        QM_ASSIGN                                        ~4      ~6
         13    >   CONCAT                                           ~7      '%1B%5B3', ~4
         14        ROPE_INIT                                     3  ~9      '+It+'
         15        ROPE_ADD                                      1  ~9      ~9, !0
         16        ROPE_END                                      2  ~8      ~9, '%1B%5B0m%0A'
         17        CONCAT                                           ~11     ~7, ~8
         18        ECHO                                                     ~11
         19      > RETURN                                                   null

End of function it

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
155.26 ms | 1396 KiB | 15 Q