3v4l.org

run code in 300+ PHP versions simultaneously
<?php $ua = 'Mozilla/5.0 (Linux; U; Android 4.0.4; fr-fr; GT-S7562 Build/IMM76I) AppleWebKit/534.30 (KHTML, like Gecko) Version/4.0 Mobile Safari/534.30'; $android = stripos(strtolower($ua, 'android')); echo $android;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/bhYic
function name:  (null)
number of ops:  11
compiled vars:  !0 = $ua, !1 = $android
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 'Mozilla%2F5.0+%28Linux%3B+U%3B+Android+4.0.4%3B+fr-fr%3B+GT-S7562+Build%2FIMM76I%29+AppleWebKit%2F534.30+%28KHTML%2C+like+Gecko%29+Version%2F4.0+Mobile+Safari%2F534.30'
    3     1        INIT_FCALL                                               'stripos'
          2        INIT_FCALL                                               'strtolower'
          3        SEND_VAR                                                 !0
          4        SEND_VAL                                                 'android'
          5        DO_ICALL                                         $3      
          6        SEND_VAR                                                 $3
          7        DO_ICALL                                         $4      
          8        ASSIGN                                                   !1, $4
    4     9        ECHO                                                     !1
         10      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
178.32 ms | 1398 KiB | 17 Q