3v4l.org

run code in 300+ PHP versions simultaneously
<?php // $username = "hello"; $name = $firstName ?? $username ?? $placeholder ?? $test ?? $vidu ?? "ví dụ ra cái này nếu trước nó NULL"; echo $name; // class number { public $a= 10; public $b=20; private $c=30; } $numbers = new number(); foreach($numbers as $var => $value) { echo "$value "; }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 16, Position 2 = 22
Branch analysis from position: 16
2 jumps found. (Code = 78) Position 1 = 17, Position 2 = 22
Branch analysis from position: 17
1 jumps found. (Code = 42) Position 1 = 16
Branch analysis from position: 16
Branch analysis from position: 22
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 22
filename:       /in/GFYbX
function name:  (null)
number of ops:  24
compiled vars:  !0 = $name, !1 = $firstName, !2 = $username, !3 = $placeholder, !4 = $test, !5 = $vidu, !6 = $numbers, !7 = $value, !8 = $var
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    4     0  E >   COALESCE                                         ~9      !1
          1        COALESCE                                         ~10     !2
          2        COALESCE                                         ~11     !3
          3        COALESCE                                         ~12     !4
          4        COALESCE                                         ~13     !5
          5        QM_ASSIGN                                        ~13     'v%C3%AD+d%E1%BB%A5+ra+c%C3%A1i+n%C3%A0y+n%E1%BA%BFu+tr%C6%B0%E1%BB%9Bc+n%C3%B3+NULL'
          6        QM_ASSIGN                                        ~12     ~13
          7        QM_ASSIGN                                        ~11     ~12
          8        QM_ASSIGN                                        ~10     ~11
          9        QM_ASSIGN                                        ~9      ~10
         10        ASSIGN                                                   !0, ~9
    6    11        ECHO                                                     !0
   14    12        NEW                                              $15     'number'
         13        DO_FCALL                                      0          
         14        ASSIGN                                                   !6, $15
   16    15      > FE_RESET_R                                       $18     !6, ->22
         16    > > FE_FETCH_R                                       ~19     $18, !7, ->22
         17    >   ASSIGN                                                   !8, ~19
   17    18        NOP                                                      
         19        FAST_CONCAT                                      ~21     !7, '+'
         20        ECHO                                                     ~21
   16    21      > JMP                                                      ->16
         22    >   FE_FREE                                                  $18
   18    23      > RETURN                                                   1

Class number: [no user functions]

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
170.78 ms | 1398 KiB | 13 Q