3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = 'a'; $b = 'b'; echo sqrt(2); echo (isset ($a) && isset ($b) && !is_numeric (($a * $b) . '') ) && (($a * $b) != INF) ? 1 : 0; ?>
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 46) Position 1 = 8, Position 2 = 10
Branch analysis from position: 8
2 jumps found. (Code = 46) Position 1 = 11, Position 2 = 18
Branch analysis from position: 11
2 jumps found. (Code = 46) Position 1 = 19, Position 2 = 22
Branch analysis from position: 19
2 jumps found. (Code = 43) Position 1 = 23, Position 2 = 25
Branch analysis from position: 23
1 jumps found. (Code = 42) Position 1 = 26
Branch analysis from position: 26
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 25
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 22
Branch analysis from position: 18
Branch analysis from position: 10
filename:       /in/3NpqF
function name:  (null)
number of ops:  28
compiled vars:  !0 = $a, !1 = $b
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 'a'
    3     1        ASSIGN                                                   !1, 'b'
    4     2        INIT_FCALL                                               'sqrt'
          3        SEND_VAL                                                 2
          4        DO_ICALL                                         $4      
          5        ECHO                                                     $4
    5     6        ISSET_ISEMPTY_CV                                 ~5      !0
          7      > JMPZ_EX                                          ~5      ~5, ->10
          8    >   ISSET_ISEMPTY_CV                                 ~6      !1
          9        BOOL                                             ~5      ~6
         10    > > JMPZ_EX                                          ~5      ~5, ->18
         11    >   INIT_FCALL                                               'is_numeric'
         12        MUL                                              ~7      !0, !1
         13        CONCAT                                           ~8      ~7, ''
         14        SEND_VAL                                                 ~8
         15        DO_ICALL                                         $9      
         16        BOOL_NOT                                         ~10     $9
         17        BOOL                                             ~5      ~10
         18    > > JMPZ_EX                                          ~5      ~5, ->22
         19    >   MUL                                              ~11     !0, !1
         20        IS_NOT_EQUAL                                     ~12     ~11, INF
         21        BOOL                                             ~5      ~12
         22    > > JMPZ                                                     ~5, ->25
         23    >   QM_ASSIGN                                        ~13     1
         24      > JMP                                                      ->26
         25    >   QM_ASSIGN                                        ~13     0
         26    >   ECHO                                                     ~13
    6    27      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
156.05 ms | 1396 KiB | 17 Q