3v4l.org

run code in 300+ PHP versions simultaneously
<?php // Everything you enter here will be executed by our servers. Try it! $newfunc = create_function('$a,$b', 'return "ln($a) + ln($b) = " . log($a * $b);'); var_dump($newfunc);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/v3Bt3
function name:  (null)
number of ops:  9
compiled vars:  !0 = $newfunc
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    4     0  E >   INIT_FCALL_BY_NAME                                       'create_function'
          1        SEND_VAL_EX                                              '%24a%2C%24b'
          2        SEND_VAL_EX                                              'return+%22ln%28%24a%29+%2B+ln%28%24b%29+%3D+%22+.+log%28%24a+%2A+%24b%29%3B'
          3        DO_FCALL                                      0  $1      
          4        ASSIGN                                                   !0, $1
    5     5        INIT_FCALL                                               'var_dump'
          6        SEND_VAR                                                 !0
          7        DO_ICALL                                                 
          8      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
157.11 ms | 1385 KiB | 18 Q