3v4l.org

run code in 300+ PHP versions simultaneously
<?php $text = " 4535903705830785|Expirymonth|Expiryyear|CVV|DOB|SSN|FirstName|LastName|Address|ZipCode|City|State|NumPhone|Email| 4535903705830785|Expirymonth|Expiryyear|CVV|DOB|SSN|FirstName|LastName|Address|ZipCode|City|State|NumPhone|Email| "; while(!empty($text)){ $bin = substr($text,0,strpos($text,"|")); $text = substr($text,strlen($bin)+1,strlen($text)); $short_bin = substr($bin,0,6); var_dump($bin); var_dump($short_bin); $exp_month = substr($text,0,strpos($text,"|")); $text = substr($text,strlen($exp_month)+1,strlen($text)); $exp_year = substr($text,0,strpos($text,"|")); $text = substr($text,strlen($exp_year)+1,strlen($text)); $cvv = substr($text,0,strpos($text,"|")); $text = substr($text,strlen($cvv)+1,strlen($text)); $dob = substr($text, 0, strpos($text, "|")); $text = substr($text, strlen($dob) + 1, strlen($text)); $ssn = substr($text, 0, strpos($text, "|")); $text = substr($text, strlen($ssn) + 1, strlen($text)); $firstname = substr($text,0,strpos($text,"|")); $text = substr($text,strlen($firstname)+1,strlen($text)); $lastname = substr($text,0,strpos($text,"|")); $text = substr($text,strlen($lastname)+1,strlen($text)); $address = substr($text,0,strpos($text,"|")); $text = substr($text,strlen($address)+1,strlen($text)); $zip_code = substr($text,0,strpos($text,"|")); $text = substr($text,strlen($zip_code)+1,strlen($text)); $city = substr($text,0,strpos($text,"|")); $text = substr($text,strlen($city)+1,strlen($text)); $state = substr($text,0,strpos($text,"|")); $text = substr($text,strlen($state)+1,strlen($text)); $phone = substr($text,0,strpos($text,"|")); $text = substr($text,strlen($phone)+1,strlen($text)); $email = substr($text,0,strpos($text,"|")); $text = substr($text,strlen($email)+1,strlen($text)); }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 280
Branch analysis from position: 280
2 jumps found. (Code = 44) Position 1 = 283, Position 2 = 2
Branch analysis from position: 283
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 2
2 jumps found. (Code = 44) Position 1 = 283, Position 2 = 2
Branch analysis from position: 283
Branch analysis from position: 2
filename:       /in/OSZmW
function name:  (null)
number of ops:  284
compiled vars:  !0 = $text, !1 = $bin, !2 = $short_bin, !3 = $exp_month, !4 = $exp_year, !5 = $cvv, !6 = $dob, !7 = $ssn, !8 = $firstname, !9 = $lastname, !10 = $address, !11 = $zip_code, !12 = $city, !13 = $state, !14 = $phone, !15 = $email
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, '%0A4535903705830785%7CExpirymonth%7CExpiryyear%7CCVV%7CDOB%7CSSN%7CFirstName%7CLastName%7CAddress%7CZipCode%7CCity%7CState%7CNumPhone%7CEmail%7C+++++%0A4535903705830785%7CExpirymonth%7CExpiryyear%7CCVV%7CDOB%7CSSN%7CFirstName%7CLastName%7CAddress%7CZipCode%7CCity%7CState%7CNumPhone%7CEmail%7C%0A'
    8     1      > JMP                                                      ->280
    9     2    >   INIT_FCALL                                               'substr'
          3        SEND_VAR                                                 !0
          4        SEND_VAL                                                 0
          5        INIT_FCALL                                               'strpos'
          6        SEND_VAR                                                 !0
          7        SEND_VAL                                                 '%7C'
          8        DO_ICALL                                         $17     
          9        SEND_VAR                                                 $17
         10        DO_ICALL                                         $18     
         11        ASSIGN                                                   !1, $18
   10    12        INIT_FCALL                                               'substr'
         13        SEND_VAR                                                 !0
         14        STRLEN                                           ~20     !1
         15        ADD                                              ~21     ~20, 1
         16        SEND_VAL                                                 ~21
         17        STRLEN                                           ~22     !0
         18        SEND_VAL                                                 ~22
         19        DO_ICALL                                         $23     
         20        ASSIGN                                                   !0, $23
   11    21        INIT_FCALL                                               'substr'
         22        SEND_VAR                                                 !1
         23        SEND_VAL                                                 0
         24        SEND_VAL                                                 6
         25        DO_ICALL                                         $25     
         26        ASSIGN                                                   !2, $25
   12    27        INIT_FCALL                                               'var_dump'
         28        SEND_VAR                                                 !1
         29        DO_ICALL                                                 
   13    30        INIT_FCALL                                               'var_dump'
         31        SEND_VAR                                                 !2
         32        DO_ICALL                                                 
   15    33        INIT_FCALL                                               'substr'
         34        SEND_VAR                                                 !0
         35        SEND_VAL                                                 0
         36        INIT_FCALL                                               'strpos'
         37        SEND_VAR                                                 !0
         38        SEND_VAL                                                 '%7C'
         39        DO_ICALL                                         $29     
         40        SEND_VAR                                                 $29
         41        DO_ICALL                                         $30     
         42        ASSIGN                                                   !3, $30
   16    43        INIT_FCALL                                               'substr'
         44        SEND_VAR                                                 !0
         45        STRLEN                                           ~32     !3
         46        ADD                                              ~33     ~32, 1
         47        SEND_VAL                                                 ~33
         48        STRLEN                                           ~34     !0
         49        SEND_VAL                                                 ~34
         50        DO_ICALL                                         $35     
         51        ASSIGN                                                   !0, $35
   18    52        INIT_FCALL                                               'substr'
         53        SEND_VAR                                                 !0
         54        SEND_VAL                                                 0
         55        INIT_FCALL                                               'strpos'
         56        SEND_VAR                                                 !0
         57        SEND_VAL                                                 '%7C'
         58        DO_ICALL                                         $37     
         59        SEND_VAR                                                 $37
         60        DO_ICALL                                         $38     
         61        ASSIGN                                                   !4, $38
   19    62        INIT_FCALL                                               'substr'
         63        SEND_VAR                                                 !0
         64        STRLEN                                           ~40     !4
         65        ADD                                              ~41     ~40, 1
         66        SEND_VAL                                                 ~41
         67        STRLEN                                           ~42     !0
         68        SEND_VAL                                                 ~42
         69        DO_ICALL                                         $43     
         70        ASSIGN                                                   !0, $43
   21    71        INIT_FCALL                                               'substr'
         72        SEND_VAR                                                 !0
         73        SEND_VAL                                                 0
         74        INIT_FCALL                                               'strpos'
         75        SEND_VAR                                                 !0
         76        SEND_VAL                                                 '%7C'
         77        DO_ICALL                                         $45     
         78        SEND_VAR                                                 $45
         79        DO_ICALL                                         $46     
         80        ASSIGN                                                   !5, $46
   22    81        INIT_FCALL                                               'substr'
         82        SEND_VAR                                                 !0
         83        STRLEN                                           ~48     !5
         84        ADD                                              ~49     ~48, 1
         85        SEND_VAL                                                 ~49
         86        STRLEN                                           ~50     !0
         87        SEND_VAL                                                 ~50
         88        DO_ICALL                                         $51     
         89        ASSIGN                                                   !0, $51
   24    90        INIT_FCALL                                               'substr'
         91        SEND_VAR                                                 !0
         92        SEND_VAL                                                 0
         93        INIT_FCALL                                               'strpos'
         94        SEND_VAR                                                 !0
         95        SEND_VAL                                                 '%7C'
         96        DO_ICALL                                         $53     
         97        SEND_VAR                                                 $53
         98        DO_ICALL                                         $54     
         99        ASSIGN                                                   !6, $54
   25   100        INIT_FCALL                                               'substr'
        101        SEND_VAR                                                 !0
        102        STRLEN                                           ~56     !6
        103        ADD                                              ~57     ~56, 1
        104        SEND_VAL                                                 ~57
        105        STRLEN                                           ~58     !0
        106        SEND_VAL                                                 ~58
        107        DO_ICALL                                         $59     
        108        ASSIGN                                                   !0, $59
   27   109        INIT_FCALL                                               'substr'
        110        SEND_VAR                                                 !0
        111        SEND_VAL                                                 0
        112        INIT_FCALL                                               'strpos'
        113        SEND_VAR                                                 !0
        114        SEND_VAL                                                 '%7C'
        115        DO_ICALL                                         $61     
        116        SEND_VAR                                                 $61
        117        DO_ICALL                                         $62     
        118        ASSIGN                                                   !7, $62
   28   119        INIT_FCALL                                               'substr'
        120        SEND_VAR                                                 !0
        121        STRLEN                                           ~64     !7
        122        ADD                                              ~65     ~64, 1
        123        SEND_VAL                                                 ~65
        124        STRLEN                                           ~66     !0
        125        SEND_VAL                                                 ~66
        126        DO_ICALL                                         $67     
        127        ASSIGN                                                   !0, $67
   30   128        INIT_FCALL                                               'substr'
        129        SEND_VAR                                                 !0
        130        SEND_VAL                                                 0
        131        INIT_FCALL                                               'strpos'
        132        SEND_VAR                                                 !0
        133        SEND_VAL                                                 '%7C'
        134        DO_ICALL                                         $69     
        135        SEND_VAR                                                 $69
        136        DO_ICALL                                         $70     
        137        ASSIGN                                                   !8, $70
   31   138        INIT_FCALL                                               'substr'
        139        SEND_VAR                                                 !0
        140        STRLEN                                           ~72     !8
        141        ADD                                              ~73     ~72, 1
        142        SEND_VAL                                                 ~73
        143        STRLEN                                           ~74     !0
        144        SEND_VAL                                                 ~74
        145        DO_ICALL                                         $75     
        146        ASSIGN                                                   !0, $75
   33   147        INIT_FCALL                                               'substr'
        148        SEND_VAR                                                 !0
        149        SEND_VAL                                                 0
        150        INIT_FCALL                                               'strpos'
        151        SEND_VAR                                                 !0
        152        SEND_VAL                                                 '%7C'
        153        DO_ICALL                                         $77     
        154        SEND_VAR                                                 $77
        155        DO_ICALL                                         $78     
        156        ASSIGN                                                   !9, $78
   34   157        INIT_FCALL                                               'substr'
        158        SEND_VAR                                                 !0
        159        STRLEN                                           ~80     !9
        160        ADD                                              ~81     ~80, 1
        161        SEND_VAL                                                 ~81
        162        STRLEN                                           ~82     !0
        163        SEND_VAL                                                 ~82
        164        DO_ICALL                                         $83     
        165        ASSIGN                                                   !0, $83
   36   166        INIT_FCALL                                               'substr'
        167        SEND_VAR                                                 !0
        168        SEND_VAL                                                 0
        169        INIT_FCALL                                               'strpos'
        170        SEND_VAR                                                 !0
        171        SEND_VAL                                                 '%7C'
        172        DO_ICALL                                         $85     
        173        SEND_VAR                                                 $85
        174        DO_ICALL                                         $86     
        175        ASSIGN                                                   !10, $86
   37   176        INIT_FCALL                                               'substr'
        177        SEND_VAR                                                 !0
        178        STRLEN                                           ~88     !10
        179        ADD                                              ~89     ~88, 1
        180        SEND_VAL                                                 ~89
        181        STRLEN                                           ~90     !0
        182        SEND_VAL                                                 ~90
        183        DO_ICALL                                         $91     
        184        ASSIGN                                                   !0, $91
   39   185        INIT_FCALL                                               'substr'
        186        SEND_VAR                                                 !0
        187        SEND_VAL                                                 0
        188        INIT_FCALL                                               'strpos'
        189        SEND_VAR                                                 !0
        190        SEND_VAL                                                 '%7C'
        191        DO_ICALL                                         $93     
        192        SEND_VAR                                                 $93
        193        DO_ICALL                                         $94     
        194        ASSIGN                                                   !11, $94
   40   195        INIT_FCALL                                               'substr'
        196        SEND_VAR                                                 !0
        197        STRLEN                                           ~96     !11
        198        ADD                                              ~97     ~96, 1
        199        SEND_VAL                                                 ~97
        200        STRLEN                                           ~98     !0
        201        SEND_VAL                                                 ~98
        202        DO_ICALL                                         $99     
        203        ASSIGN                                                   !0, $99
   42   204        INIT_FCALL                                               'substr'
        205        SEND_VAR                                                 !0
        206        SEND_VAL                                                 0
        207        INIT_FCALL                                               'strpos'
        208        SEND_VAR                                                 !0
        209        SEND_VAL                                                 '%7C'
        210        DO_ICALL                                         $101    
        211        SEND_VAR                                                 $101
        212        DO_ICALL                                         $102    
        213        ASSIGN                                                   !12, $102
   43   214        INIT_FCALL                                               'substr'
        215        SEND_VAR                                                 !0
        216        STRLEN                                           ~104    !12
        217        ADD                                              ~105    ~104, 1
        218        SEND_VAL                                                 ~105
        219        STRLEN                                           ~106    !0
        220        SEND_VAL                                                 ~106
        221        DO_ICALL                                         $107    
        222        ASSIGN                                                   !0, $107
   45   223        INIT_FCALL                                               'substr'
        224        SEND_VAR                                                 !0
        225        SEND_VAL                                                 0
        226        INIT_FCALL                                               'strpos'
        227        SEND_VAR                                                 !0
        228        SEND_VAL                                                 '%7C'
        229        DO_ICALL                                         $109    
        230        SEND_VAR                                                 $109
        231        DO_ICALL                                         $110    
        232        ASSIGN                                                   !13, $110
   46   233        INIT_FCALL                                               'substr'
        234        SEND_VAR                                                 !0
        235        STRLEN                                           ~112    !13
        236        ADD                                              ~113    ~112, 1
        237        SEND_VAL                                                 ~113
        238        STRLEN                                           ~114    !0
        239        SEND_VAL                                                 ~114
        240        DO_ICALL                                         $115    
        241        ASSIGN                                                   !0, $115
   48   242        INIT_FCALL                                               'substr'
        243        SEND_VAR                                                 !0
        244        SEND_VAL                                                 0
        245        INIT_FCALL                                               'strpos'
        246        SEND_VAR                                                 !0
        247        SEND_VAL                                                 '%7C'
        248        DO_ICALL                                         $117    
        249        SEND_VAR                                                 $117
        250        DO_ICALL                                         $118    
        251        ASSIGN                                                   !14, $118
   49   252        INIT_FCALL                                               'substr'
        253        SEND_VAR                                                 !0
        254        STRLEN                                           ~120    !14
        255        ADD                                              ~121    ~120, 1
        256        SEND_VAL                                                 ~121
        257        STRLEN                                           ~122    !0
        258        SEND_VAL                                                 ~122
        259        DO_ICALL                                         $123    
        260        ASSIGN                                                   !0, $123
   51   261        INIT_FCALL                                               'substr'
        262        SEND_VAR                                                 !0
        263        SEND_VAL                                                 0
        264        INIT_FCALL                                               'strpos'
        265        SEND_VAR                                                 !0
        266        SEND_VAL                                                 '%7C'
        267        DO_ICALL                                         $125    
        268        SEND_VAR                                                 $125
        269        DO_ICALL                                         $126    
        270        ASSIGN                                                   !15, $126
   52   271        INIT_FCALL                                               'substr'
        272        SEND_VAR                                                 !0
        273        STRLEN                                           ~128    !15
        274        ADD                                              ~129    ~128, 1
        275        SEND_VAL                                                 ~129
        276        STRLEN                                           ~130    !0
        277        SEND_VAL                                                 ~130
        278        DO_ICALL                                         $131    
        279        ASSIGN                                                   !0, $131
    8   280    >   ISSET_ISEMPTY_CV                                 ~133    !0
        281        BOOL_NOT                                         ~134    ~133
        282      > JMPNZ                                                    ~134, ->2
   54   283    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
152.99 ms | 1025 KiB | 16 Q