3v4l.org

run code in 300+ PHP versions simultaneously
<?php $data = "<html>3v4l.org (leetspeak for eval) is an online shell that allows you to run your code on my server. I compiled more than 200 different PHP versions (every version released since 4.3.0) plus HHVM for you to use. For every script you submit, this site tells you:3v4l.org (leetspeak for eval) is an online shell that allows you to run your code on my server. I compiled more than 200 di<pre>testfferent PHP versions (every version released since 4.3.0) plus HHVM for you to use. For every script you submit, th<b>is sit</b>e tells <p>you:3v4l</p>test</pre>.org (leetspeak for eval) is an online shell that allows you to run your code on my server. I compiled more than 200 different PHP versions (every version released since 4.3.0) plus HHVM for you to use. For every script you submit, this site tells you:3v4l.org (leetspeak for eval) is an online shell that allows you to run your code on my server. I compiled more than 200 different PHP versions (every version released since 4.3.0) plus HHVM for you to use. For every script you submit, this site tells you:3v4l.org (leetspeak for eval) is an online shell that allows you to run your code on my server. <pre>testI compiled more than 200 different PHP versions (every version released since 4.3.0) plus HHVM for you to use. For every script you stest</pre>ubmit, this site tells you:3v4l.org (leetspeak for eval) is an online shell that allows you to run your code on my server. I compiled more than 200 different PHP versions (every version released since 4.3.0) plus HHVM for you to use. For every script you submit, this <pre>testsite tells you:3v4l.org (leetspeak for eval) is an online shell that allows you to run your code on my server. I compiled more thantest</pre> 200 different PHP versions (every version released since 4.3.0) plus HHVM for you to use. For every script you submit, this site tells you:</html>"; function getTagContent($data, $tag) { $openingTag = "<$tag>"; $closingTag = "</$tag>"; $results = array(); $content = $data; $pos = strpos($content, $openingTag); while($pos !== FALSE) { $content = substr($content, $pos+strlen($openingTag)); $results[] = htmlentities(substr($content, 0, strpos($content, $closingTag))); $pos = strpos($content, $openingTag); } return $results; } var_dump(getTagContent($data, "pre"));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/pNFV3
function name:  (null)
number of ops:  9
compiled vars:  !0 = $data
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, '%3Chtml%3E3v4l.org+%28leetspeak+for+eval%29+is+an+online+shell+that+allows+you+to+run+your+code+on+my+server.+I+compiled+more+than+200+different+PHP+versions+%28every+version+released+since+4.3.0%29+plus+HHVM+for+you+to+use.+For+every+script+you+submit%2C+this+site+tells+you%3A3v4l.org+%28leetspeak+for+eval%29+is+an+online+shell+that+allows+you+to+run+your+code+on+my+server.+I+compiled+more+than+200+di%3Cpre%3Etestfferent+PHP+versions+%28every+version+released+since+4.3.0%29+plus+HHVM+for+you+to+use.+For+every+script+you+submit%2C+th%3Cb%3Eis+sit%3C%2Fb%3Ee+tells+%3Cp%3Eyou%3A3v4l%3C%2Fp%3Etest%3C%2Fpre%3E.org+%28leetspeak+for+eval%29+is+an+online+shell+that+allows+you+to+run+your+code+on+my+server.+I+compiled+more+than+200+different+PHP+versions+%28every+version+released+since+4.3.0%29+plus+HHVM+for+you+to+use.+For+every+script+you+submit%2C+this+site+tells+you%3A3v4l.org+%28leetspeak+for+eval%29+is+an+online+shell+that+allows+you+to+run+your+code+on+my+server.+I+compiled+more+than+200+different+PHP+versions+%28every+version+released+since+4.3.0%29+plus+HHVM+for+you+to+use.+For+every+script+you+submit%2C+this+site+tells+you%3A3v4l.org+%28leetspeak+for+eval%29+is+an+online+shell+that+allows+you+to+run+your+code+on+my+server.+%3Cpre%3EtestI+compiled+more+than+200+different+PHP+versions+%28every+version+released+since+4.3.0%29+plus+HHVM+for+you+to+use.+For+every+script+you+stest%3C%2Fpre%3Eubmit%2C+this+site+tells+you%3A3v4l.org+%28leetspeak+for+eval%29+is+an+online+shell+that+allows+you+to+run+your+code+on+my+server.+I+compiled+more+than+200+different+PHP+versions+%28every+version+released+since+4.3.0%29+plus+HHVM+for+you+to+use.+For+every+script+you+submit%2C+this+%3Cpre%3Etestsite+tells+you%3A3v4l.org+%28leetspeak+for+eval%29+is+an+online+shell+that+allows+you+to+run+your+code+on+my+server.+I+compiled+more+thantest%3C%2Fpre%3E+200+different+PHP+versions+%28every+version+released+since+4.3.0%29+plus+HHVM+for+you+to+use.+For+every+script+you+submit%2C+this+site+tells+you%3A%3C%2Fhtml%3E'
   27     1        INIT_FCALL                                               'var_dump'
          2        INIT_FCALL                                               'gettagcontent'
          3        SEND_VAR                                                 !0
          4        SEND_VAL                                                 'pre'
          5        DO_FCALL                                      0  $2      
          6        SEND_VAR                                                 $2
          7        DO_ICALL                                                 
          8      > RETURN                                                   1

Function gettagcontent:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 44
Branch analysis from position: 44
2 jumps found. (Code = 44) Position 1 = 46, Position 2 = 18
Branch analysis from position: 46
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 18
2 jumps found. (Code = 44) Position 1 = 46, Position 2 = 18
Branch analysis from position: 46
Branch analysis from position: 18
filename:       /in/pNFV3
function name:  getTagContent
number of ops:  48
compiled vars:  !0 = $data, !1 = $tag, !2 = $openingTag, !3 = $closingTag, !4 = $results, !5 = $content, !6 = $pos
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    5     0  E >   RECV                                             !0      
          1        RECV                                             !1      
    7     2        ROPE_INIT                                     3  ~8      '%3C'
          3        ROPE_ADD                                      1  ~8      ~8, !1
          4        ROPE_END                                      2  ~7      ~8, '%3E'
          5        ASSIGN                                                   !2, ~7
    8     6        ROPE_INIT                                     3  ~12     '%3C%2F'
          7        ROPE_ADD                                      1  ~12     ~12, !1
          8        ROPE_END                                      2  ~11     ~12, '%3E'
          9        ASSIGN                                                   !3, ~11
   10    10        ASSIGN                                                   !4, <array>
   12    11        ASSIGN                                                   !5, !0
   14    12        INIT_FCALL                                               'strpos'
         13        SEND_VAR                                                 !5
         14        SEND_VAR                                                 !2
         15        DO_ICALL                                         $17     
         16        ASSIGN                                                   !6, $17
   16    17      > JMP                                                      ->44
   17    18    >   INIT_FCALL                                               'substr'
         19        SEND_VAR                                                 !5
         20        STRLEN                                           ~19     !2
         21        ADD                                              ~20     !6, ~19
         22        SEND_VAL                                                 ~20
         23        DO_ICALL                                         $21     
         24        ASSIGN                                                   !5, $21
   19    25        INIT_FCALL                                               'htmlentities'
         26        INIT_FCALL                                               'substr'
         27        SEND_VAR                                                 !5
         28        SEND_VAL                                                 0
         29        INIT_FCALL                                               'strpos'
         30        SEND_VAR                                                 !5
         31        SEND_VAR                                                 !3
         32        DO_ICALL                                         $24     
         33        SEND_VAR                                                 $24
         34        DO_ICALL                                         $25     
         35        SEND_VAR                                                 $25
         36        DO_ICALL                                         $26     
         37        ASSIGN_DIM                                               !4
         38        OP_DATA                                                  $26
   21    39        INIT_FCALL                                               'strpos'
         40        SEND_VAR                                                 !5
         41        SEND_VAR                                                 !2
         42        DO_ICALL                                         $27     
         43        ASSIGN                                                   !6, $27
   16    44    >   TYPE_CHECK                                  1018          !6
         45      > JMPNZ                                                    ~29, ->18
   24    46    > > RETURN                                                   !4
   25    47*     > RETURN                                                   null

End of function gettagcontent

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
172.56 ms | 1403 KiB | 22 Q