3v4l.org

run code in 300+ PHP versions simultaneously
<?php $max_width = 100; $actual_width = 67; // When an actual width is returned by the oEmbed provider. $concluded_width_currently = $max_width ?: $actual_width; $concluded_width_proposed = $actual_width ?: $max_width; var_dump($concluded_width_currently); var_dump($concluded_width_proposed); // When NO actual width is returned by the oEmbed provider. $actual_width = NULL; $concluded_width_currently = $max_width ?: $actual_width; $concluded_width_proposed = $actual_width ?: $max_width; var_dump($concluded_width_currently); var_dump($concluded_width_proposed);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/WDTBY
function name:  (null)
number of ops:  28
compiled vars:  !0 = $max_width, !1 = $actual_width, !2 = $concluded_width_currently, !3 = $concluded_width_proposed
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 100
    4     1        ASSIGN                                                   !1, 67
    8     2        JMP_SET                                          ~6      !0, ->4
          3        QM_ASSIGN                                        ~6      !1
          4        ASSIGN                                                   !2, ~6
    9     5        JMP_SET                                          ~8      !1, ->7
          6        QM_ASSIGN                                        ~8      !0
          7        ASSIGN                                                   !3, ~8
   10     8        INIT_FCALL                                               'var_dump'
          9        SEND_VAR                                                 !2
         10        DO_ICALL                                                 
   11    11        INIT_FCALL                                               'var_dump'
         12        SEND_VAR                                                 !3
         13        DO_ICALL                                                 
   15    14        ASSIGN                                                   !1, null
   16    15        JMP_SET                                          ~13     !0, ->17
         16        QM_ASSIGN                                        ~13     !1
         17        ASSIGN                                                   !2, ~13
   17    18        JMP_SET                                          ~15     !1, ->20
         19        QM_ASSIGN                                        ~15     !0
         20        ASSIGN                                                   !3, ~15
   18    21        INIT_FCALL                                               'var_dump'
         22        SEND_VAR                                                 !2
         23        DO_ICALL                                                 
   19    24        INIT_FCALL                                               'var_dump'
         25        SEND_VAR                                                 !3
         26        DO_ICALL                                                 
         27      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
135.63 ms | 997 KiB | 14 Q