3v4l.org

run code in 300+ PHP versions simultaneously
<?php $error_serialized_data = 'a:66:{s:4:"type";s:7:"ajw_csv";s:7:"channel";s:2:"11";s:8:"filename";s:91:"/var/www/vhosts/frifri.com/httpdocs/imports/products.csv";s:9:"delimiter";s:1:",";s:8:"encloser";s:1:""";s:4:"skip";s:1:"1";s:6:"update";s:1:"y";s:6:"unique";s:15:"cf_product_code";s:6:"author";s:1:"1";s:12:"author_field";s:0:"";s:12:"author_check";s:11:"screen_name";s:6:"offset";s:1:"0";s:5:"title";s:1:"0";s:9:"url_title";s:2:"19";s:4:"date";s:0:"";s:11:"expiry_date";s:0:"";s:9:"timestamp";s:23:"cf_product_date_updated";s:10:"delete_old";s:1:"y";s:14:"category_value";s:0:"";s:9:"cat_field";s:2:"20";s:9:"cat_group";s:1:"1";s:13:"cat_delimiter";s:1:",";s:6:"status";s:7:"default";s:15:"import_comments";b:0;s:19:"cf_product_navtitle";s:0:"";s:19:"cf_product_keywords";s:0:"";s:22:"cf_product_description";s:0:"";s:13:"cf_product_id";s:1:"0";s:16:"cf_product_width";s:1:"6";s:17:"cf_product_height";s:1:"5";s:16:"cf_product_depth";s:1:"7";s:15:"cf_product_code";s:1:"0";s:21:"cf_product_rangetitle";s:0:"";s:19:"cf_product_features";s:0:"";s:16:"cf_product_power";s:2:"10";s:15:"cf_product_fuel";s:1:"8";s:29:"cf_product_productdescription";s:2:"18";s:15:"cf_product_slug";s:0:"";s:20:"cf_product_specsheet";s:0:"";s:19:"cf_products_related";s:2:"17";s:31:"cf_products_related_playa_field";s:11:"field_id_54";s:17:"cf_product_manual";s:2:"22";s:16:"cf_product_image";s:2:"21";s:19:"cf_product_brochure";s:0:"";s:24:"cf_product_product_group";s:1:"1";s:32:"cf_product_catalogue_description";s:1:"2";s:32:"cf_product_additional_desription";s:1:"3";s:21:"cf_product_model_type";s:1:"4";s:18:"cf_product_baskets";s:1:"9";s:24:"cf_product_tank_capacity";s:2:"11";s:17:"cf_product_output";s:2:"12";s:18:"cf_product_voltage";s:2:"13";s:17:"cf_product_supply";s:2:"14";s:22:"cf_product_supply_line";s:2:"15";s:25:"cf_product_optional_suply";s:2:"16";s:23:"cf_product_gross_weight";s:0:"";s:28:"cf_product_packed_dimensions";s:0:"";s:25:"cf_product_price_sterling";s:0:"";s:21:"cf_product_price_euro";s:0:"";s:24:"cf_product_in_price_list";s:0:"";s:23:"cf_product_date_updated";s:0:"";s:2:"id";s:1:"4";s:17:"cf_product_marine";s:0:"";s:17:"cf_product_hybrid";s:0:"";s:22:"cf_product_filteration";s:0:"";s:17:"cf_product_basket";s:0:"";}'; $fixed_serialized_data = preg_replace_callback ( '!s:(\d+):"(.*?)";!', function($match) { return ($match[1] == strlen($match[2])) ? $match[0] : 's:' . strlen($match[2]) . ':"' . $match[2] . '";'; }, $error_serialized_data ); echo $fixed_serialized_data;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/tOcTY
function name:  (null)
number of ops:  10
compiled vars:  !0 = $error_serialized_data, !1 = $fixed_serialized_data
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 'a%3A66%3A%7Bs%3A4%3A%22type%22%3Bs%3A7%3A%22ajw_csv%22%3Bs%3A7%3A%22channel%22%3Bs%3A2%3A%2211%22%3Bs%3A8%3A%22filename%22%3Bs%3A91%3A%22%2Fvar%2Fwww%2Fvhosts%2Ffrifri.com%2Fhttpdocs%2Fimports%2Fproducts.csv%22%3Bs%3A9%3A%22delimiter%22%3Bs%3A1%3A%22%2C%22%3Bs%3A8%3A%22encloser%22%3Bs%3A1%3A%22%22%22%3Bs%3A4%3A%22skip%22%3Bs%3A1%3A%221%22%3Bs%3A6%3A%22update%22%3Bs%3A1%3A%22y%22%3Bs%3A6%3A%22unique%22%3Bs%3A15%3A%22cf_product_code%22%3Bs%3A6%3A%22author%22%3Bs%3A1%3A%221%22%3Bs%3A12%3A%22author_field%22%3Bs%3A0%3A%22%22%3Bs%3A12%3A%22author_check%22%3Bs%3A11%3A%22screen_name%22%3Bs%3A6%3A%22offset%22%3Bs%3A1%3A%220%22%3Bs%3A5%3A%22title%22%3Bs%3A1%3A%220%22%3Bs%3A9%3A%22url_title%22%3Bs%3A2%3A%2219%22%3Bs%3A4%3A%22date%22%3Bs%3A0%3A%22%22%3Bs%3A11%3A%22expiry_date%22%3Bs%3A0%3A%22%22%3Bs%3A9%3A%22timestamp%22%3Bs%3A23%3A%22cf_product_date_updated%22%3Bs%3A10%3A%22delete_old%22%3Bs%3A1%3A%22y%22%3Bs%3A14%3A%22category_value%22%3Bs%3A0%3A%22%22%3Bs%3A9%3A%22cat_field%22%3Bs%3A2%3A%2220%22%3Bs%3A9%3A%22cat_group%22%3Bs%3A1%3A%221%22%3Bs%3A13%3A%22cat_delimiter%22%3Bs%3A1%3A%22%2C%22%3Bs%3A6%3A%22status%22%3Bs%3A7%3A%22default%22%3Bs%3A15%3A%22import_comments%22%3Bb%3A0%3Bs%3A19%3A%22cf_product_navtitle%22%3Bs%3A0%3A%22%22%3Bs%3A19%3A%22cf_product_keywords%22%3Bs%3A0%3A%22%22%3Bs%3A22%3A%22cf_product_description%22%3Bs%3A0%3A%22%22%3Bs%3A13%3A%22cf_product_id%22%3Bs%3A1%3A%220%22%3Bs%3A16%3A%22cf_product_width%22%3Bs%3A1%3A%226%22%3Bs%3A17%3A%22cf_product_height%22%3Bs%3A1%3A%225%22%3Bs%3A16%3A%22cf_product_depth%22%3Bs%3A1%3A%227%22%3Bs%3A15%3A%22cf_product_code%22%3Bs%3A1%3A%220%22%3Bs%3A21%3A%22cf_product_rangetitle%22%3Bs%3A0%3A%22%22%3Bs%3A19%3A%22cf_product_features%22%3Bs%3A0%3A%22%22%3Bs%3A16%3A%22cf_product_power%22%3Bs%3A2%3A%2210%22%3Bs%3A15%3A%22cf_product_fuel%22%3Bs%3A1%3A%228%22%3Bs%3A29%3A%22cf_product_productdescription%22%3Bs%3A2%3A%2218%22%3Bs%3A15%3A%22cf_product_slug%22%3Bs%3A0%3A%22%22%3Bs%3A20%3A%22cf_product_specsheet%22%3Bs%3A0%3A%22%22%3Bs%3A19%3A%22cf_products_related%22%3Bs%3A2%3A%2217%22%3Bs%3A31%3A%22cf_products_related_playa_field%22%3Bs%3A11%3A%22field_id_54%22%3Bs%3A17%3A%22cf_product_manual%22%3Bs%3A2%3A%2222%22%3Bs%3A16%3A%22cf_product_image%22%3Bs%3A2%3A%2221%22%3Bs%3A19%3A%22cf_product_brochure%22%3Bs%3A0%3A%22%22%3Bs%3A24%3A%22cf_product_product_group%22%3Bs%3A1%3A%221%22%3Bs%3A32%3A%22cf_product_catalogue_description%22%3Bs%3A1%3A%222%22%3Bs%3A32%3A%22cf_product_additional_desription%22%3Bs%3A1%3A%223%22%3Bs%3A21%3A%22cf_product_model_type%22%3Bs%3A1%3A%224%22%3Bs%3A18%3A%22cf_product_baskets%22%3Bs%3A1%3A%229%22%3Bs%3A24%3A%22cf_product_tank_capacity%22%3Bs%3A2%3A%2211%22%3Bs%3A17%3A%22cf_product_output%22%3Bs%3A2%3A%2212%22%3Bs%3A18%3A%22cf_product_voltage%22%3Bs%3A2%3A%2213%22%3Bs%3A17%3A%22cf_product_supply%22%3Bs%3A2%3A%2214%22%3Bs%3A22%3A%22cf_product_supply_line%22%3Bs%3A2%3A%2215%22%3Bs%3A25%3A%22cf_product_optional_suply%22%3Bs%3A2%3A%2216%22%3Bs%3A23%3A%22cf_product_gross_weight%22%3Bs%3A0%3A%22%22%3Bs%3A28%3A%22cf_product_packed_dimensions%22%3Bs%3A0%3A%22%22%3Bs%3A25%3A%22cf_product_price_sterling%22%3Bs%3A0%3A%22%22%3Bs%3A21%3A%22cf_product_price_euro%22%3Bs%3A0%3A%22%22%3Bs%3A24%3A%22cf_product_in_price_list%22%3Bs%3A0%3A%22%22%3Bs%3A23%3A%22cf_product_date_updated%22%3Bs%3A0%3A%22%22%3Bs%3A2%3A%22id%22%3Bs%3A1%3A%224%22%3Bs%3A17%3A%22cf_product_marine%22%3Bs%3A0%3A%22%22%3Bs%3A17%3A%22cf_product_hybrid%22%3Bs%3A0%3A%22%22%3Bs%3A22%3A%22cf_product_filteration%22%3Bs%3A0%3A%22%22%3Bs%3A17%3A%22cf_product_basket%22%3Bs%3A0%3A%22%22%3B%7D'
    3     1        INIT_FCALL                                               'preg_replace_callback'
          2        SEND_VAL                                                 '%21s%3A%28%5Cd%2B%29%3A%22%28.%2A%3F%29%22%3B%21'
    4     3        DECLARE_LAMBDA_FUNCTION                                  '%00%7Bclosure%7D%2Fin%2FtOcTY%3A4%240'
    6     4        SEND_VAL                                                 ~3
    7     5        SEND_VAR                                                 !0
          6        DO_ICALL                                         $4      
    3     7        ASSIGN                                                   !1, $4
    9     8        ECHO                                                     !1
          9      > RETURN                                                   1

Function %00%7Bclosure%7D%2Fin%2FtOcTY%3A4%240:
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 6, Position 2 = 9
Branch analysis from position: 6
1 jumps found. (Code = 42) Position 1 = 17
Branch analysis from position: 17
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 9
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/tOcTY
function name:  {closure}
number of ops:  19
compiled vars:  !0 = $match
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    4     0  E >   RECV                                             !0      
    5     1        FETCH_DIM_R                                      ~1      !0, 1
          2        FETCH_DIM_R                                      ~2      !0, 2
          3        STRLEN                                           ~3      ~2
          4        IS_EQUAL                                                 ~1, ~3
          5      > JMPZ                                                     ~4, ->9
          6    >   FETCH_DIM_R                                      ~5      !0, 0
          7        QM_ASSIGN                                        ~6      ~5
          8      > JMP                                                      ->17
          9    >   FETCH_DIM_R                                      ~7      !0, 2
         10        STRLEN                                           ~8      ~7
         11        CONCAT                                           ~9      's%3A', ~8
         12        CONCAT                                           ~10     ~9, '%3A%22'
         13        FETCH_DIM_R                                      ~11     !0, 2
         14        CONCAT                                           ~12     ~10, ~11
         15        CONCAT                                           ~13     ~12, '%22%3B'
         16        QM_ASSIGN                                        ~6      ~13
         17    > > RETURN                                                   ~6
    6    18*     > RETURN                                                   null

End of function %00%7Bclosure%7D%2Fin%2FtOcTY%3A4%240

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
173.28 ms | 1400 KiB | 15 Q