3v4l.org

run code in 300+ PHP versions simultaneously
<?php $pi = pi(); printf("pi: %.24f, %.24f\n", $pi, M_PI);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Z0bmQ
function name:  (null)
number of ops:  9
compiled vars:  !0 = $pi
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'pi'
          1        DO_ICALL                                         $1      
          2        ASSIGN                                                   !0, $1
    3     3        INIT_FCALL                                               'printf'
          4        SEND_VAL                                                 'pi%3A+%25.24f%2C+%25.24f%0A'
          5        SEND_VAR                                                 !0
          6        SEND_VAL                                                 3.14159
          7        DO_ICALL                                                 
          8      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
152.29 ms | 1394 KiB | 17 Q