3v4l.org

run code in 300+ PHP versions simultaneously
<?php $string = '/** * @var int * @Column(type="integer",name="id") * @Id * @GeneratedValue(strategy="AUTO") * @Webit({ "0": 1, "1": -2, "2": 3.333, "3": 4.0e+17, "4": "abc", "5": "\u00e1\n", "6": null, "7": [ 2.1, 2.2, [ "2.2.1" ] ], "8": false, "9": true, "10": "", "key": "value", "abc\"def": [] }) */'; preg_match("/@WebIT\((.*?)\)/i", $string, $output_array); var_dump($output_array);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/YfLer
function name:  (null)
number of ops:  10
compiled vars:  !0 = $string, !1 = $output_array
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, '%2F%2A%2A+%2A+%40var+int+%2A+%40Column%28type%3D%22integer%22%2Cname%3D%22id%22%29+%2A+%40Id+%2A+%40GeneratedValue%28strategy%3D%22AUTO%22%29+%2A+%40Webit%28%7B+%220%22%3A+1%2C+%221%22%3A+-2%2C+%222%22%3A+3.333%2C+%223%22%3A+4.0e%2B17%2C+%224%22%3A+%22abc%22%2C+%225%22%3A+%22%5Cu00e1%5Cn%22%2C+%226%22%3A+null%2C+%227%22%3A+%5B+2.1%2C+2.2%2C+%5B+%222.2.1%22+%5D+%5D%2C+%228%22%3A+false%2C+%229%22%3A+true%2C+%2210%22%3A+%22%22%2C+%22key%22%3A+%22value%22%2C+%22abc%5C%22def%22%3A+%5B%5D+%7D%29+%2A%2F'
    5     1        INIT_FCALL                                               'preg_match'
          2        SEND_VAL                                                 '%2F%40WebIT%5C%28%28.%2A%3F%29%5C%29%2Fi'
          3        SEND_VAR                                                 !0
          4        SEND_REF                                                 !1
          5        DO_ICALL                                                 
    7     6        INIT_FCALL                                               'var_dump'
          7        SEND_VAR                                                 !1
          8        DO_ICALL                                                 
          9      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
162.43 ms | 1385 KiB | 17 Q