3v4l.org

run code in 300+ PHP versions simultaneously
<?php $data = array( 36,110,108,32,61,32,99,104,114,40,49,48,41,59,10,112,114,105,110,116,32,34,60,63,112,104,112,36,110,108,36,110,108,92,36,100,97,116,97,32,61,32,97,114,114,97,121,40,36,110,108,34,59,10,10,102,111,114,101,97,99,104,40,36,100,97,116,97,32,97,115,32,36,100,41,32,123,10,32,32,32,112,114,105,110,116,32,34,36,100,44,34,59,32,32,10,125,10,10,112,114,105,110,116,32,34,36,110,108,41,59,36,110,108,36,110,108,34,59,10,10,102,111,114,101,97,99,104,40,36,100,97,116,97,32,97,115,32,36,100,41,32,123,10,32,32,32,32,112,114,105,110,116,32,115,112,114,105,110,116,102,40,34,37,99,34,44,32,36,100,41,59,10,125,10, ); $nl = chr(10); print "<?php$nl$nl\$data = array($nl"; foreach($data as $d) { print "$d,"; } print "$nl);$nl$nl"; foreach($data as $d) { print sprintf("%c", $d); }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 9, Position 2 = 14
Branch analysis from position: 9
2 jumps found. (Code = 78) Position 1 = 10, Position 2 = 14
Branch analysis from position: 10
1 jumps found. (Code = 42) Position 1 = 9
Branch analysis from position: 9
Branch analysis from position: 14
2 jumps found. (Code = 77) Position 1 = 21, Position 2 = 28
Branch analysis from position: 21
2 jumps found. (Code = 78) Position 1 = 22, Position 2 = 28
Branch analysis from position: 22
1 jumps found. (Code = 42) Position 1 = 21
Branch analysis from position: 21
Branch analysis from position: 28
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 28
Branch analysis from position: 14
filename:       /in/lDQCF
function name:  (null)
number of ops:  30
compiled vars:  !0 = $data, !1 = $nl, !2 = $d
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, <array>
    7     1        ASSIGN                                                   !1, '%0A'
    8     2        ROPE_INIT                                     5  ~6      '%3C%3Fphp'
          3        ROPE_ADD                                      1  ~6      ~6, !1
          4        ROPE_ADD                                      2  ~6      ~6, !1
          5        ROPE_ADD                                      3  ~6      ~6, '%24data+%3D+array%28'
          6        ROPE_END                                      4  ~5      ~6, !1
          7        ECHO                                                     ~5
   10     8      > FE_RESET_R                                       $9      !0, ->14
          9    > > FE_FETCH_R                                               $9, !2, ->14
   11    10    >   NOP                                                      
         11        FAST_CONCAT                                      ~10     !2, '%2C'
         12        ECHO                                                     ~10
   10    13      > JMP                                                      ->9
         14    >   FE_FREE                                                  $9
   14    15        ROPE_INIT                                     4  ~12     !1
         16        ROPE_ADD                                      1  ~12     ~12, '%29%3B'
         17        ROPE_ADD                                      2  ~12     ~12, !1
         18        ROPE_END                                      3  ~11     ~12, !1
         19        ECHO                                                     ~11
   16    20      > FE_RESET_R                                       $14     !0, ->28
         21    > > FE_FETCH_R                                               $14, !2, ->28
   17    22    >   INIT_FCALL                                               'sprintf'
         23        SEND_VAL                                                 '%25c'
         24        SEND_VAR                                                 !2
         25        DO_ICALL                                         $15     
         26        ECHO                                                     $15
   16    27      > JMP                                                      ->21
         28    >   FE_FREE                                                  $14
   18    29      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
160.28 ms | 1396 KiB | 15 Q