3v4l.org

run code in 300+ PHP versions simultaneously
<?php $query_params = [ 'u' => 'thisistheuristring with spaces and an & sign', 'title' => 'The Title is Awesome! Right?' ]; ?> <a class="facebook" href="https://www.facebook.com/share.php?<?php echo http_build_query($query_params) ?>" target="blank"><i class="fa fa-facebook-square" aria-hidden="true"></i></a>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/YDDgY
function name:  (null)
number of ops:  8
compiled vars:  !0 = $query_params
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, <array>
    7     1        ECHO                                                     '%3Ca+class%3D%22facebook%22+href%3D%22https%3A%2F%2Fwww.facebook.com%2Fshare.php%3F'
          2        INIT_FCALL                                               'http_build_query'
          3        SEND_VAR                                                 !0
          4        DO_ICALL                                         $2      
          5        ECHO                                                     $2
          6        ECHO                                                     '%22+target%3D%22blank%22%3E%3Ci+class%3D%22fa+fa-facebook-square%22+aria-hidden%3D%22true%22%3E%3C%2Fi%3E%3C%2Fa%3E'
          7      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
145.11 ms | 1008 KiB | 14 Q