3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = deg2rad(90); $b =cos($a); var_export($a); var_export($b); echo "\n".sprintf('%F', $a)."\n";
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/boELt
function name:  (null)
number of ops:  22
compiled vars:  !0 = $a, !1 = $b
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'deg2rad'
          1        SEND_VAL                                                 90
          2        DO_ICALL                                         $2      
          3        ASSIGN                                                   !0, $2
    3     4        INIT_FCALL                                               'cos'
          5        SEND_VAR                                                 !0
          6        DO_ICALL                                         $4      
          7        ASSIGN                                                   !1, $4
    4     8        INIT_FCALL                                               'var_export'
          9        SEND_VAR                                                 !0
         10        DO_ICALL                                                 
    5    11        INIT_FCALL                                               'var_export'
         12        SEND_VAR                                                 !1
         13        DO_ICALL                                                 
    6    14        INIT_FCALL                                               'sprintf'
         15        SEND_VAL                                                 '%25F'
         16        SEND_VAR                                                 !0
         17        DO_ICALL                                         $8      
         18        CONCAT                                           ~9      '%0A', $8
         19        CONCAT                                           ~10     ~9, '%0A'
         20        ECHO                                                     ~10
         21      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
169.68 ms | 1395 KiB | 21 Q