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;

preferences:
43.8 ms | 402 KiB | 5 Q