3v4l.org

run code in 300+ PHP versions simultaneously
<?php $myArray = array( "title" => "My Title", "description" => "Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type Code: No Promo Code Required Begin: 2014-07-25 00:00:00 Expire: 0000-00-00 00:00:00", "link" => "http://www.gopjn.com/t/3-79115-101746-99698" ); $return = preg_match("/(Code.*Expire:\s\d{4}-\d{2}-\d{2}\s\d{2}:\d{2}:\d{2})/", $myArray["description"]); echo $return[1];
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/qRMbu
function name:  (null)
number of ops:  10
compiled vars:  !0 = $myArray, !1 = $return
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, <array>
   10     1        INIT_FCALL                                               'preg_match'
          2        SEND_VAL                                                 '%2F%28Code.%2AExpire%3A%5Cs%5Cd%7B4%7D-%5Cd%7B2%7D-%5Cd%7B2%7D%5Cs%5Cd%7B2%7D%3A%5Cd%7B2%7D%3A%5Cd%7B2%7D%29%2F'
          3        FETCH_DIM_R                                      ~3      !0, 'description'
          4        SEND_VAL                                                 ~3
          5        DO_ICALL                                         $4      
          6        ASSIGN                                                   !1, $4
   12     7        FETCH_DIM_R                                      ~6      !1, 1
          8        ECHO                                                     ~6
          9      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
151.81 ms | 1385 KiB | 15 Q