3v4l.org

run code in 300+ PHP versions simultaneously
<?php $data = <<<konec <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8"><title>Tasker: Action A-Z</title></head><body><H3>Tasker: Action A-Z</H3> <H4>APN Droid</H4>Enable or disable mobile data by changing APN data.<br/><br/>This action requires that the application APNDroid is installed on your device.<br/><br/>It apparently does *not* work for CDMA phones e.g. Motorola Droid, try the Mobile Data action instead.<br/><br/>If you have trouble reconnecting after using this action, use the 'Reset to Default' menu item in the APNs screen of Android Settings.<br/><br/>Warning: APNDroid v2.5+: the Tasker action seems *not* to affect the new APNDroid data toggle. If you use Tasker with APNDroid 2.5+, it's recommended that you *disable* the 'Use system toggle' option in system settings to prevent confusion. <H4>Airplane Mode</H4>Whether airplane mode is enabled (all wireless devices off) or enabled (each wireless device is enabled if it is individually enabled).<br/><br/>See also: action Airplane Radios. <H4>Airplane Radios</H4>Specify which radios should be <b>disabled</b> when entering Airplane Mode.<br/><br/>This can be useful for e.g. turning off the phone radio when it is not required; first set Airplane Radios to only Phone, then use the Airplane Mode action to enter Airplane Mode.<br/><br/>Important: for some radios the setting may not take effect until the device has been restarted.<br/><br/>See also: variable %AIRR. <H4>Alarm Volume</H4>Alarm volume level.<br/><br/>Setting to 0 will mute alarms.<br/><br/>When Display is enabled, a popup will show the new level.<br/><br/>When Sound is enabled, a tone will sound at the new volume level. <H4>Anchor</H4>Provides a fixed, named point in a task.<br/><br/>This is most useful as the top action in a loop with a Goto action at the end; it allows new actions to easily be inserted at the top of the loop (under the Anchor). <H4>Android Notifier</H4>Android Notifier is a service for contacting your desktop via your mobile phone.<br/><br/>Info:<br/><br/>http://code.google.com/p/android-notifier/ <H4>Array Clear</H4>Remove all the elements of an array variable. </body></html> konec; preg_match('#^(.*)(<head>(.*)<title>(.*)</title>(.*)</head>\s*<body>)(.*)(</body>(.*))$#ims', $data, $parsed); var_dump($parsed);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/EHGH4
function name:  (null)
number of ops:  10
compiled vars:  !0 = $data, !1 = $parsed
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, '%3C%21DOCTYPE+HTML+PUBLIC+%22-%2F%2FW3C%2F%2FDTD+HTML+4.01+Transitional%2F%2FEN%22%3E%0A%3Chtml%3E%3Chead%3E%3Cmeta+http-equiv%3D%22Content-Type%22+content%3D%22text%2Fhtml%3Bcharset%3DUTF-8%22%3E%3Ctitle%3ETasker%3A+Action+A-Z%3C%2Ftitle%3E%3C%2Fhead%3E%3Cbody%3E%3CH3%3ETasker%3A+Action+A-Z%3C%2FH3%3E%0A%0A%3CH4%3EAPN+Droid%3C%2FH4%3EEnable+or+disable+mobile+data+by+changing+APN+data.%3Cbr%2F%3E%3Cbr%2F%3EThis+action+requires+that+the+application+APNDroid+is+installed+on+your+device.%3Cbr%2F%3E%3Cbr%2F%3EIt+apparently+does+%2Anot%2A+work+for+CDMA+phones+e.g.+Motorola+Droid%2C+try+the+Mobile+Data+action+instead.%3Cbr%2F%3E%3Cbr%2F%3EIf+you+have+trouble+reconnecting+after+using+this+action%2C+use+the+%27Reset+to+Default%27+menu+item+in+the+APNs+screen+of+Android+Settings.%3Cbr%2F%3E%3Cbr%2F%3EWarning%3A+APNDroid+v2.5%2B%3A+the+Tasker+action+seems+%2Anot%2A+to+affect+the+new+APNDroid+data+toggle.+If+you+use+Tasker+with+APNDroid+2.5%2B%2C+it%27s+recommended+that+you+%2Adisable%2A+the+%27Use+system+toggle%27+option+in+system+settings+to+prevent+confusion.%0A%0A%3CH4%3EAirplane+Mode%3C%2FH4%3EWhether+airplane+mode+is+enabled+%28all+wireless+devices+off%29+or+enabled+%28each+wireless+device+is+enabled+if+it+is+individually+enabled%29.%3Cbr%2F%3E%3Cbr%2F%3ESee+also%3A+action+Airplane+Radios.%0A%0A%3CH4%3EAirplane+Radios%3C%2FH4%3ESpecify+which+radios+should+be+%3Cb%3Edisabled%3C%2Fb%3E+when+entering+Airplane+Mode.%3Cbr%2F%3E%3Cbr%2F%3EThis+can+be+useful+for+e.g.+turning+off+the+phone+radio+when+it+is+not+required%3B+first+set+Airplane+Radios+to+only+Phone%2C+then+use+the+Airplane+Mode+action+to+enter+Airplane+Mode.%3Cbr%2F%3E%3Cbr%2F%3EImportant%3A+for+some+radios+the+setting+may+not+take+effect+until+the+device+has+been+restarted.%3Cbr%2F%3E%3Cbr%2F%3ESee+also%3A+variable+%25AIRR.%0A%0A%3CH4%3EAlarm+Volume%3C%2FH4%3EAlarm+volume+level.%3Cbr%2F%3E%3Cbr%2F%3ESetting+to+0+will+mute+alarms.%3Cbr%2F%3E%3Cbr%2F%3EWhen+Display+is+enabled%2C+a+popup+will+show+the+new+level.%3Cbr%2F%3E%3Cbr%2F%3EWhen+Sound+is+enabled%2C+a+tone+will+sound+at+the+new+volume+level.%0A%0A%3CH4%3EAnchor%3C%2FH4%3EProvides+a+fixed%2C+named+point+in+a+task.%3Cbr%2F%3E%3Cbr%2F%3EThis+is+most+useful+as+the+top+action+in+a+loop+with+a+Goto+action+at+the+end%3B+it+allows+new+actions+to+easily+be+inserted+at+the+top+of+the+loop+%28under+the+Anchor%29.%0A%0A%3CH4%3EAndroid+Notifier%3C%2FH4%3EAndroid+Notifier+is+a+service+for+contacting+your+desktop+via+your+mobile+phone.%3Cbr%2F%3E%3Cbr%2F%3EInfo%3A%3Cbr%2F%3E%3Cbr%2F%3Ehttp%3A%2F%2Fcode.google.com%2Fp%2Fandroid-notifier%2F%0A%0A%3CH4%3EArray+Clear%3C%2FH4%3ERemove+all+the+elements+of+an+array+variable.%0A%0A%3C%2Fbody%3E%3C%2Fhtml%3E'
   24     1        INIT_FCALL                                               'preg_match'
          2        SEND_VAL                                                 '%23%5E%28.%2A%29%28%3Chead%3E%28.%2A%29%3Ctitle%3E%28.%2A%29%3C%2Ftitle%3E%28.%2A%29%3C%2Fhead%3E%5Cs%2A%3Cbody%3E%29%28.%2A%29%28%3C%2Fbody%3E%28.%2A%29%29%24%23ims'
          3        SEND_VAR                                                 !0
          4        SEND_REF                                                 !1
          5        DO_ICALL                                                 
   25     6        INIT_FCALL                                               'var_dump'
          7        SEND_VAR                                                 !1
          8        DO_ICALL                                                 
          9      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
171.99 ms | 1396 KiB | 17 Q