3v4l.org

run code in 300+ PHP versions simultaneously
<?php $str ="Relevant dates: Registered on: 19-Aug-2015 Expiry date: 19-Aug-2025 Last updated: 21-Sep-2015 Registration status: Registered until expiry date. Name servers: xxx.mainnameserver.com xxx.mainnameserver.com WHOIS lookup made at 09:34:40 10-Nov-2017 -- This WHOIS information is provided for free by Nominet UK the central registry for .uk domain names. This information and the .uk WHOIS are: Copyright Nominet UK 1996 - 2017. You may not access the .uk WHOIS or use any data from it except as permitted by the terms of use available in full at http://www.nominet.uk/whoisterms, which includes restrictions on: (A) use of the data for advertising, or its repackaging, recompilation, redistribution or reuse (B) obscuring, removing or hiding any or all of this notice and (C) exceeding query rate or volume limits. The data is provided on an 'as-is' basis and may lag behind the register. Access may be withdrawn or restricted at any time. Domain is registered"; Preg_match("/Expiry date:\s([a-zA-Z0-9-]+)/", $str, $match); Echo $match[1];
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/k7W2b
function name:  (null)
number of ops:  9
compiled vars:  !0 = $str, !1 = $match
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 'Relevant+dates%3A+Registered+on%3A+19-Aug-2015+Expiry+date%3A+19-Aug-2025+Last+updated%3A+21-Sep-2015+Registration+status%3A+Registered+until+expiry+date.+Name+servers%3A+xxx.mainnameserver.com+xxx.mainnameserver.com+WHOIS+lookup+made+at+09%3A34%3A40+10-Nov-2017+--+This+WHOIS+information+is+provided+for+free+by+Nominet+UK+the+central+registry+for+.uk+domain+names.+This+information+and+the+.uk+WHOIS+are%3A+Copyright+Nominet+UK+1996+-+2017.+You+may+not+access+the+.uk+WHOIS+or+use+any+data+from+it+except+as+permitted+by+the+terms+of+use+available+in+full+at+http%3A%2F%2Fwww.nominet.uk%2Fwhoisterms%2C+which+includes+restrictions+on%3A+%28A%29+use+of+the+data+for+advertising%2C+or+its+repackaging%2C+recompilation%2C+redistribution+or+reuse+%28B%29+obscuring%2C+removing+or+hiding+any+or+all+of+this+notice+and+%28C%29+exceeding+query+rate+or+volume+limits.+The+data+is+provided+on+an+%27as-is%27+basis+and+may+lag+behind+the+register.+Access+may+be+withdrawn+or+restricted+at+any+time.+Domain+is+registered'
    5     1        INIT_FCALL                                               'preg_match'
          2        SEND_VAL                                                 '%2FExpiry+date%3A%5Cs%28%5Ba-zA-Z0-9-%5D%2B%29%2F'
          3        SEND_VAR                                                 !0
          4        SEND_REF                                                 !1
          5        DO_ICALL                                                 
    7     6        FETCH_DIM_R                                      ~4      !1, 1
          7        ECHO                                                     ~4
          8      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
138.04 ms | 1399 KiB | 15 Q