3v4l.org

run code in 300+ PHP versions simultaneously
<?php $re = '/^https?:\/\/(?:www.)?jamalouki.net\/(amp)?details\/\K\d*/i'; $str = 'https://www.jamalouki.net/Details/48128/Rami-Kadi-يطلق-كبسولة-Mystery-Shimmer-تصاميم-ستجعلك-تشعين-جمالا-وجاذبية'; preg_match($re, $str, $matches); // Print the entire match result var_dump($matches);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/kpCF4
function name:  (null)
number of ops:  11
compiled vars:  !0 = $re, !1 = $str, !2 = $matches
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, '%2F%5Ehttps%3F%3A%5C%2F%5C%2F%28%3F%3Awww.%29%3Fjamalouki.net%5C%2F%28amp%29%3Fdetails%5C%2F%5CK%5Cd%2A%2Fi'
    3     1        ASSIGN                                                   !1, 'https%3A%2F%2Fwww.jamalouki.net%2FDetails%2F48128%2FRami-Kadi-%D9%8A%D8%B7%D9%84%D9%82-%D9%83%D8%A8%D8%B3%D9%88%D9%84%D8%A9-Mystery-Shimmer-%D8%AA%D8%B5%D8%A7%D9%85%D9%8A%D9%85-%D8%B3%D8%AA%D8%AC%D8%B9%D9%84%D9%83-%D8%AA%D8%B4%D8%B9%D9%8A%D9%86-%D8%AC%D9%85%D8%A7%D9%84%D8%A7-%D9%88%D8%AC%D8%A7%D8%B0%D8%A8%D9%8A%D8%A9'
    5     2        INIT_FCALL                                               'preg_match'
          3        SEND_VAR                                                 !0
          4        SEND_VAR                                                 !1
          5        SEND_REF                                                 !2
          6        DO_ICALL                                                 
    8     7        INIT_FCALL                                               'var_dump'
          8        SEND_VAR                                                 !2
          9        DO_ICALL                                                 
         10      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
279.68 ms | 1005 KiB | 15 Q