3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo 'Hello world!'; echo 'Hello' . ' ' . 'world!'; printf('Hello world!'); file_put_contents('php://stdout', 'Hello world!'); printf('%c%c%c%c%c%c%c%c%c%c%c%c', 0x48, 0x65, 0x6c, 0x6c, 0x6f, 0x20, 0x77, 0x6f, 0x72, 0x6c, 0x64, 0x21);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/2asIK
function name:  (null)
number of ops:  25
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ECHO                                                     'Hello+world%21'
    4     1        ECHO                                                     'Hello+world%21'
    5     2        INIT_FCALL                                               'printf'
          3        SEND_VAL                                                 'Hello+world%21'
          4        DO_ICALL                                                 
    6     5        INIT_FCALL                                               'file_put_contents'
          6        SEND_VAL                                                 'php%3A%2F%2Fstdout'
          7        SEND_VAL                                                 'Hello+world%21'
          8        DO_ICALL                                                 
    7     9        INIT_FCALL                                               'printf'
         10        SEND_VAL                                                 '%25c%25c%25c%25c%25c%25c%25c%25c%25c%25c%25c%25c'
         11        SEND_VAL                                                 72
         12        SEND_VAL                                                 101
         13        SEND_VAL                                                 108
         14        SEND_VAL                                                 108
         15        SEND_VAL                                                 111
         16        SEND_VAL                                                 32
         17        SEND_VAL                                                 119
         18        SEND_VAL                                                 111
         19        SEND_VAL                                                 114
         20        SEND_VAL                                                 108
         21        SEND_VAL                                                 100
         22        SEND_VAL                                                 33
         23        DO_ICALL                                                 
         24      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
161.7 ms | 1386 KiB | 17 Q