3v4l.org

run code in 300+ PHP versions simultaneously
<?php declare(strict_types = 1); class OrderFill { public function __construct( public float $timestampms, public string $size, public string $price, public ?string $amount = NULL, public string $fee_usd, public string $exchangeOrderId, public string $tradeId, ) { var_dump($amount); } } new OrderFill( timestampms: 1.0, size: "1", price: "1", fee_usd: "1", exchangeOrderId: "1", tradeId: "1", );
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/MOecm
function name:  (null)
number of ops:  11
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   18     0  E >   NEW                                              $0      'OrderFill'
   19     1        SEND_VAL_EX                                              1, 'timestampms'
   20     2        SEND_VAL_EX                                              '1', 'size'
   21     3        SEND_VAL_EX                                              '1', 'price'
   22     4        SEND_VAL_EX                                              '1', 'fee_usd'
   23     5        SEND_VAL_EX                                              '1', 'exchangeOrderId'
   24     6        SEND_VAL_EX                                              '1', 'tradeId'
          7        CHECK_UNDEF_ARGS                                         
          8        DO_FCALL                                      1          
          9        FREE                                                     $0
   25    10      > RETURN                                                   1

Class OrderFill:
Function __construct:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/MOecm
function name:  __construct
number of ops:  25
compiled vars:  !0 = $timestampms, !1 = $size, !2 = $price, !3 = $amount, !4 = $fee_usd, !5 = $exchangeOrderId, !6 = $tradeId
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    4     0  E >   RECV                                             !0      
          1        RECV                                             !1      
          2        RECV                                             !2      
          3        RECV_INIT                                        !3      null
          4        RECV                                             !4      
          5        RECV                                             !5      
          6        RECV                                             !6      
          7        ASSIGN_OBJ                                               'timestampms'
          8        OP_DATA                                                  !0
          9        ASSIGN_OBJ                                               'size'
         10        OP_DATA                                                  !1
         11        ASSIGN_OBJ                                               'price'
         12        OP_DATA                                                  !2
         13        ASSIGN_OBJ                                               'amount'
         14        OP_DATA                                                  !3
         15        ASSIGN_OBJ                                               'fee_usd'
         16        OP_DATA                                                  !4
         17        ASSIGN_OBJ                                               'exchangeOrderId'
         18        OP_DATA                                                  !5
         19        ASSIGN_OBJ                                               'tradeId'
         20        OP_DATA                                                  !6
   13    21        INIT_FCALL                                               'var_dump'
         22        SEND_VAR                                                 !3
         23        DO_ICALL                                                 
   14    24      > RETURN                                                   null

End of function __construct

End of class OrderFill.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
144.84 ms | 1396 KiB | 15 Q