3v4l.org

run code in 300+ PHP versions simultaneously
<?php Schema::create('sessions', function ($table) { $table->string('id')->unique(); $table->integer('user_id')->nullable(); $table->string('ip_address', 45)->nullable(); $table->text('user_agent')->nullable(); $table->text('payload'); $table->integer('last_activity'); });
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Mdvao
function name:  (null)
number of ops:  6
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_STATIC_METHOD_CALL                                  'Schema', 'create'
          1        SEND_VAL_EX                                              'sessions'
          2        DECLARE_LAMBDA_FUNCTION                                  '%00%7Bclosure%7D%2Fin%2FMdvao%3A3%240'
   10     3        SEND_VAL_EX                                              ~0
          4        DO_FCALL                                      0          
          5      > RETURN                                                   1

Function %00%7Bclosure%7D%2Fin%2FMdvao%3A3%240:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Mdvao
function name:  {closure}
number of ops:  29
compiled vars:  !0 = $table
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   RECV                                             !0      
    4     1        INIT_METHOD_CALL                                         !0, 'string'
          2        SEND_VAL_EX                                              'id'
          3        DO_FCALL                                      0  $1      
          4        INIT_METHOD_CALL                                         $1, 'unique'
          5        DO_FCALL                                      0          
    5     6        INIT_METHOD_CALL                                         !0, 'integer'
          7        SEND_VAL_EX                                              'user_id'
          8        DO_FCALL                                      0  $3      
          9        INIT_METHOD_CALL                                         $3, 'nullable'
         10        DO_FCALL                                      0          
    6    11        INIT_METHOD_CALL                                         !0, 'string'
         12        SEND_VAL_EX                                              'ip_address'
         13        SEND_VAL_EX                                              45
         14        DO_FCALL                                      0  $5      
         15        INIT_METHOD_CALL                                         $5, 'nullable'
         16        DO_FCALL                                      0          
    7    17        INIT_METHOD_CALL                                         !0, 'text'
         18        SEND_VAL_EX                                              'user_agent'
         19        DO_FCALL                                      0  $7      
         20        INIT_METHOD_CALL                                         $7, 'nullable'
         21        DO_FCALL                                      0          
    8    22        INIT_METHOD_CALL                                         !0, 'text'
         23        SEND_VAL_EX                                              'payload'
         24        DO_FCALL                                      0          
    9    25        INIT_METHOD_CALL                                         !0, 'integer'
         26        SEND_VAL_EX                                              'last_activity'
         27        DO_FCALL                                      0          
   10    28      > RETURN                                                   null

End of function %00%7Bclosure%7D%2Fin%2FMdvao%3A3%240

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
162.07 ms | 1399 KiB | 13 Q