3v4l.org

run code in 300+ PHP versions simultaneously
<?php use Facebook\WebDriver\Remote\RemoteWebDriver; use Facebook\WebDriver\Remote\DesiredCapabilities; use Facebook\WebDriver\Chrome\ChromeOptions; $capabilities = DesiredCapabilities::chrome(); $options = new ChromeOptions; $options->addArguments(["--verbose"]); $options->setExperimentalOption($name, $value); $capabilities->setCapability(ChromeOptions::CAPABILITY, $options);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/0OeRb
function name:  (null)
number of ops:  19
compiled vars:  !0 = $capabilities, !1 = $options, !2 = $name, !3 = $value
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    5     0  E >   INIT_STATIC_METHOD_CALL                                  'Facebook%5CWebDriver%5CRemote%5CDesiredCapabilities', 'chrome'
          1        DO_FCALL                                      0  $4      
          2        ASSIGN                                                   !0, $4
    6     3        NEW                                              $6      'Facebook%5CWebDriver%5CChrome%5CChromeOptions'
          4        DO_FCALL                                      0          
          5        ASSIGN                                                   !1, $6
    7     6        INIT_METHOD_CALL                                         !1, 'addArguments'
          7        SEND_VAL_EX                                              <array>
          8        DO_FCALL                                      0          
    8     9        INIT_METHOD_CALL                                         !1, 'setExperimentalOption'
         10        SEND_VAR_EX                                              !2
         11        SEND_VAR_EX                                              !3
         12        DO_FCALL                                      0          
    9    13        INIT_METHOD_CALL                                         !0, 'setCapability'
         14        FETCH_CLASS_CONSTANT                             ~11     'Facebook%5CWebDriver%5CChrome%5CChromeOptions', 'CAPABILITY'
         15        SEND_VAL_EX                                              ~11
         16        SEND_VAR_EX                                              !1
         17        DO_FCALL                                      0          
         18      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
173.82 ms | 1393 KiB | 13 Q