3v4l.org

run code in 300+ PHP versions simultaneously
<?php $url = urlencode('http://littlebird.static.wearejh.com'); $hashTags = 'littlebird'; $text = urlencode('Product Name'); echo "https://twitter.com/intent/tweet?url=$url&hashtags=$hashTags&text=$text";
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/eUg7g
function name:  (null)
number of ops:  17
compiled vars:  !0 = $url, !1 = $hashTags, !2 = $text
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'urlencode'
          1        SEND_VAL                                                 'http%3A%2F%2Flittlebird.static.wearejh.com'
          2        DO_ICALL                                         $3      
          3        ASSIGN                                                   !0, $3
    3     4        ASSIGN                                                   !1, 'littlebird'
    4     5        INIT_FCALL                                               'urlencode'
          6        SEND_VAL                                                 'Product+Name'
          7        DO_ICALL                                         $6      
          8        ASSIGN                                                   !2, $6
    6     9        ROPE_INIT                                     6  ~9      'https%3A%2F%2Ftwitter.com%2Fintent%2Ftweet%3Furl%3D'
         10        ROPE_ADD                                      1  ~9      ~9, !0
         11        ROPE_ADD                                      2  ~9      ~9, '%26hashtags%3D'
         12        ROPE_ADD                                      3  ~9      ~9, !1
         13        ROPE_ADD                                      4  ~9      ~9, '%26text%3D'
         14        ROPE_END                                      5  ~8      ~9, !2
         15        ECHO                                                     ~8
         16      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
140.97 ms | 1394 KiB | 15 Q