3v4l.org

run code in 300+ PHP versions simultaneously
<?php $bin = '402100'; $getbank = explode($bin, file_get_contents("http://bins.pro/search?action=searchbins&bins=" . $bin . "&bank=&country=")); $jeniscc = explode("</td><td>", $getbank[2]); $namabnk = explode("</td></tr>", $jeniscc[5]); $ccbrand = $jeniscc[2]; $ccbank = $namabnk[0]; $cctype = $jeniscc[3]; $ccklas = $jeniscc[4]; //$details = json_decode(xcurl('https://bins.ribbon.co/api/v1/bins/420000'.substr($cardnum, 0, 6))); $info = $ccbrand.'['.$cctype.'-'.$ccklas.'] : '.$ccbank;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Tv8Ko
function name:  (null)
number of ops:  39
compiled vars:  !0 = $bin, !1 = $getbank, !2 = $jeniscc, !3 = $namabnk, !4 = $ccbrand, !5 = $ccbank, !6 = $cctype, !7 = $ccklas, !8 = $info
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, '402100'
    3     1        INIT_FCALL                                               'explode'
          2        SEND_VAR                                                 !0
          3        INIT_FCALL                                               'file_get_contents'
          4        CONCAT                                           ~10     'http%3A%2F%2Fbins.pro%2Fsearch%3Faction%3Dsearchbins%26bins%3D', !0
          5        CONCAT                                           ~11     ~10, '%26bank%3D%26country%3D'
          6        SEND_VAL                                                 ~11
          7        DO_ICALL                                         $12     
          8        SEND_VAR                                                 $12
          9        DO_ICALL                                         $13     
         10        ASSIGN                                                   !1, $13
    4    11        INIT_FCALL                                               'explode'
         12        SEND_VAL                                                 '%3C%2Ftd%3E%3Ctd%3E'
         13        FETCH_DIM_R                                      ~15     !1, 2
         14        SEND_VAL                                                 ~15
         15        DO_ICALL                                         $16     
         16        ASSIGN                                                   !2, $16
    5    17        INIT_FCALL                                               'explode'
         18        SEND_VAL                                                 '%3C%2Ftd%3E%3C%2Ftr%3E'
         19        FETCH_DIM_R                                      ~18     !2, 5
         20        SEND_VAL                                                 ~18
         21        DO_ICALL                                         $19     
         22        ASSIGN                                                   !3, $19
    6    23        FETCH_DIM_R                                      ~21     !2, 2
         24        ASSIGN                                                   !4, ~21
    7    25        FETCH_DIM_R                                      ~23     !3, 0
         26        ASSIGN                                                   !5, ~23
    8    27        FETCH_DIM_R                                      ~25     !2, 3
         28        ASSIGN                                                   !6, ~25
    9    29        FETCH_DIM_R                                      ~27     !2, 4
         30        ASSIGN                                                   !7, ~27
   12    31        CONCAT                                           ~29     !4, '%5B'
         32        CONCAT                                           ~30     ~29, !6
         33        CONCAT                                           ~31     ~30, '-'
         34        CONCAT                                           ~32     ~31, !7
         35        CONCAT                                           ~33     ~32, '%5D+%3A+'
         36        CONCAT                                           ~34     ~33, !5
         37        ASSIGN                                                   !8, ~34
         38      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
175.39 ms | 1396 KiB | 17 Q