3v4l.org

run code in 300+ PHP versions simultaneously
<?php $status_tag = array('In Queue' =>'NA','ON CALL' =>'NA','Attempting Contact'=>'AC - Gate Keeper,AC - Invalid Number,AC - Left VM - Call Back,AC - Mailbox Full/ No option to leave VM,AC - Phone rings no answer,AC - Rescheduled by Agent','In Progress'=>'IP - Advertiser not Available (Travelling On Holiday),IP - Advertiser Not Aware of the Appointment,IP - Advertiser Not Aware of the requirements for Implementation,IP - Awaiting Conversion value on ICS/ Screenshot from Advertiser,IP - Code Sent,IP - Code sent Advertiser implemented incorrectly,IP - Communication via email,IP - Multiple Rescheduled Appointment,IP - No Web Access,IP - Owner Approval For Implementation,IP - Regalix Delay,IP - Regalix FollowUp,IP - Rescheduled by Advertiser,IP - Webmaster Delay,IP - Webmaster is not located in the Country,IP - Website under-construction (For the Current quarter),IP - Advertiser To Implement the Code in 2-3 Weeks','Pending qc - win / Implemented'=>'NA','Implemented'=>'NA','Pending qc - in active / In-active'=>'NA','Pending QC - In Active'=>'IL - Code already implemented by the advertiser,IL - Code Sent but no response,IL - Invalid Contact Details,IL - No Response,IL - Not Interested,IL - No Web Access,IL - Query / Troubleshooting - Provided Solution,IL - Redesigning Website,IL - Reschedule but No Response,IL - Technically Unfeasible,IL - Duplicate - Lead via gCase,IL - Account Suspended/Inactive (TAG Leads),IL - Troubleshooting / Rejected','In Active'=>'IL - Code already implemented by the advertiser,IL - Code Sent but no response,IL - Invalid Contact Details,IL - No Response,IL - Not Interested,IL - No Web Access,IL - Query / Troubleshooting - Provided Solution,IL - Redesigning Website,IL - Reschedule but No Response,IL - Technically Unfeasible,IL - Duplicate - Lead via gCase,IL - Account Suspended/Inactive (TAG Leads),IL - Troubleshooting / Rejected','Rework Required - WIN'=>'NA','Rework Required - Inactive'=>'RR - Inactive,RR - Invalid Implementation,RR - Process','Rework Fixed - WIN'=>'NA','Rework Fixed - Inactive'=>'NA'); $status_shop= array('In Queue' =>'NA','ON CALL' =>'NA','Attempting Contact'=>'AC - Gate Keeper,AC - Invalid Number,AC - Left VM - Call Back,AC - Phone rings but No Answer','In Progress'=>'IP - Account Suspended,IP - Advertiser at Work,IP - Advertiser Unreachable,IP - Awaiting Impressions,IP - Campaign Paused,IP - Data Quality Errors,IP - Installing an Extension/Creating a Landing Page,IP - No Admin Access,IP - POLICY ISSUES,IP - Rescheduled by Advertiser,IP - Waiting for website verification','Pending qc - win / Implemented'=>'NA','Implemented'=>'IM - WIN (Impressions Received),IM - WIN > Troubleshooting (Complex),IM - WIN - Troubleshooting(Basics)','Pending qc - in active / In-active'=>'NA','Pending QC - In Active'=>'DL - Account Suspended post Regalix Implementation,DL - Account suspended when the lead was submitted.,DL - Already Active,DL - Campaign Paused,DL - Invalid contact Details,DL - Lack of time/resources,DL - No access / No Website Credentials,DL - No response,DL - Not Interested,DL - Policy Issues,DL - Redesigning Website,DL - Technically unfeasible,DL - Troubleshooting','In Active'=>'DL - Account Suspended post Regalix Implementation,DL - Account suspended when the lead was submitted.,DL - Already Active,DL - Campaign Paused,DL - Invalid contact Details,DL - Lack of time/resources,DL - No access / No Website Credentials,DL - No response,DL - Not Interested,DL - Policy Issues,DL - Redesigning Website,DL - Technically unfeasible,DL - Troubleshooting','Rework Required - WIN'=>'NA','Rework Required - Inactive'=>'NA','Rework Fixed - WIN'=>'NA','Rework Fixed - Inactive'=>'NA'); $ar = array_intersect_assoc($status_tag,$status_shop); print_r($ar); ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/3AlBT
function name:  (null)
number of ops:  11
compiled vars:  !0 = $status_tag, !1 = $status_shop, !2 = $ar
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, <array>
    4     1        ASSIGN                                                   !1, <array>
    6     2        INIT_FCALL                                               'array_intersect_assoc'
          3        SEND_VAR                                                 !0
          4        SEND_VAR                                                 !1
          5        DO_ICALL                                         $5      
          6        ASSIGN                                                   !2, $5
   10     7        INIT_FCALL                                               'print_r'
          8        SEND_VAR                                                 !2
          9        DO_ICALL                                                 
   11    10      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
175.23 ms | 1394 KiB | 17 Q