3v4l.org

run code in 500+ 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" ); preg_match("/(Code.*Expire:\s\d{4}-\d{2}-\d{2}\s\d{2}:\d{2}:\d{2})/", $myArray["description"], $matches); echo $matches[1];
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/mWjau
function name:  (null)
number of ops:  10
compiled vars:  !0 = $myArray, !1 = $matches
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        SEND_REF                                                     !1
          6        DO_ICALL                                                     
   12     7        FETCH_DIM_R                                          ~5      !1, 1
          8        ECHO                                                         ~5
          9      > RETURN                                                       1

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
178.51 ms | 2856 KiB | 14 Q