3v4l.org

run code in 300+ PHP versions simultaneously
<?php $cosas = array( 'true' => TRUE, 'false' => FALSE, 'null' => NULL, 'empty' => "", 'positive' => 1, 'negative' => -1, 'zero' => 0 ); foreach($cosas as $nombre => $cosa) { echo "<h3>$nombre</h3>"; echo "<ul>"; echo "<li><strong>isset: </strong>" . ( isset($cosa) ? "TRUE" : "FALSE" ) . "</li>"; echo "<li><strong>is_null: </strong>" . ( is_null($cosa) ? "TRUE" : "FALSE" ) . "</li>"; echo "<li><strong>empty: </strong>" . ( empty($cosa) ? "TRUE" : "FALSE" ) . "</li>"; echo "</ul>"; }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 2, Position 2 = 35
Branch analysis from position: 2
2 jumps found. (Code = 78) Position 1 = 3, Position 2 = 35
Branch analysis from position: 3
2 jumps found. (Code = 43) Position 1 = 11, Position 2 = 13
Branch analysis from position: 11
1 jumps found. (Code = 42) Position 1 = 14
Branch analysis from position: 14
2 jumps found. (Code = 43) Position 1 = 19, Position 2 = 21
Branch analysis from position: 19
1 jumps found. (Code = 42) Position 1 = 22
Branch analysis from position: 22
2 jumps found. (Code = 43) Position 1 = 27, Position 2 = 29
Branch analysis from position: 27
1 jumps found. (Code = 42) Position 1 = 30
Branch analysis from position: 30
1 jumps found. (Code = 42) Position 1 = 2
Branch analysis from position: 2
Branch analysis from position: 29
1 jumps found. (Code = 42) Position 1 = 2
Branch analysis from position: 2
Branch analysis from position: 21
2 jumps found. (Code = 43) Position 1 = 27, Position 2 = 29
Branch analysis from position: 27
Branch analysis from position: 29
Branch analysis from position: 13
2 jumps found. (Code = 43) Position 1 = 19, Position 2 = 21
Branch analysis from position: 19
Branch analysis from position: 21
Branch analysis from position: 35
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 35
filename:       /in/vX4EU
function name:  (null)
number of ops:  37
compiled vars:  !0 = $cosas, !1 = $cosa, !2 = $nombre
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, <array>
   11     1      > FE_RESET_R                                       $4      !0, ->35
          2    > > FE_FETCH_R                                       ~5      $4, !1, ->35
          3    >   ASSIGN                                                   !2, ~5
   13     4        ROPE_INIT                                     3  ~8      '%3Ch3%3E'
          5        ROPE_ADD                                      1  ~8      ~8, !2
          6        ROPE_END                                      2  ~7      ~8, '%3C%2Fh3%3E'
          7        ECHO                                                     ~7
   14     8        ECHO                                                     '%3Cul%3E'
   15     9        ISSET_ISEMPTY_CV                                         !1
         10      > JMPZ                                                     ~10, ->13
         11    >   QM_ASSIGN                                        ~11     'TRUE'
         12      > JMP                                                      ->14
         13    >   QM_ASSIGN                                        ~11     'FALSE'
         14    >   CONCAT                                           ~12     '%3Cli%3E%3Cstrong%3Eisset%3A+%3C%2Fstrong%3E', ~11
         15        CONCAT                                           ~13     ~12, '%3C%2Fli%3E'
         16        ECHO                                                     ~13
   16    17        TYPE_CHECK                                    2          !1
         18      > JMPZ                                                     ~14, ->21
         19    >   QM_ASSIGN                                        ~15     'TRUE'
         20      > JMP                                                      ->22
         21    >   QM_ASSIGN                                        ~15     'FALSE'
         22    >   CONCAT                                           ~16     '%3Cli%3E%3Cstrong%3Eis_null%3A+%3C%2Fstrong%3E', ~15
         23        CONCAT                                           ~17     ~16, '%3C%2Fli%3E'
         24        ECHO                                                     ~17
   17    25        ISSET_ISEMPTY_CV                                         !1
         26      > JMPZ                                                     ~18, ->29
         27    >   QM_ASSIGN                                        ~19     'TRUE'
         28      > JMP                                                      ->30
         29    >   QM_ASSIGN                                        ~19     'FALSE'
         30    >   CONCAT                                           ~20     '%3Cli%3E%3Cstrong%3Eempty%3A+%3C%2Fstrong%3E', ~19
         31        CONCAT                                           ~21     ~20, '%3C%2Fli%3E'
         32        ECHO                                                     ~21
   18    33        ECHO                                                     '%3C%2Ful%3E'
   11    34      > JMP                                                      ->2
         35    >   FE_FREE                                                  $4
   19    36      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
160.74 ms | 1399 KiB | 13 Q