3v4l.org

run code in 300+ PHP versions simultaneously
<?php $exif = array ( 'FileName' => 'Jazz-auf-dem-Trammplatz.jpg', 'FileDateTime' => 0, 'FileSize' => 581770, 'FileType' => 2, 'MimeType' => 'image/jpeg', 'SectionsFound' => 'ANY_TAG, IFD0, EXIF', 'COMPUTED' => array ( 'html' => 'width="2225" height="1430"', 'Height' => 1430, 'Width' => 2225, 'IsColor' => 1, 'ByteOrderMotorola' => 0, 'ApertureFNumber' => 'f/1.0', 'UserComment' => ' ', 'UserCommentEncoding' => 'ASCII', ), 'Make' => 'NIKON CORPORATION', 'Model' => 'NIKON D70', 'Orientation' => 1, 'ResolutionUnit' => 2, 'Software' => 'Ver.1.03 ', 'DateTime' => '2005:05:04 13:47:03', 'YCbCrPositioning' => 2, 'Exif_IFD_Pointer' => 308, 'CustomRendered' => 0, 'ExposureMode' => 1, 'WhiteBalance' => 0, 'DigitalZoomRatio' => '1/1', 'FocalLengthIn35mmFilm' => 0, 'SceneCaptureType' => 0, 'GainControl' => 0, 'Contrast' => 0, 'Saturation' => 0, 'Sharpness' => 0, 'SubjectDistanceRange' => 0, 'ExposureTime' => '10/2500', 'FNumber' => '0/10', 'ExposureProgram' => 1, 'ExifVersion' => '0221', 'DateTimeOriginal' => '2005:05:04 13:47:03', 'DateTimeDigitized' => '2005:05:04 13:47:03', 'ComponentsConfiguration' => '' . "\0" . '', 'CompressedBitsPerPixel' => '4/1', 'ExposureBiasValue' => '0/6', 'MaxApertureValue' => '0/10', 'MeteringMode' => 2, 'LightSource' => 0, 'Flash' => 0, 'FocalLength' => '0/10', 'SubSecTime' => '70', 'SubSecTimeOriginal' => '70', 'SubSecTimeDigitized' => '70', 'FlashPixVersion' => '0100', 'ColorSpace' => 1, 'ExifImageWidth' => 3008, 'ExifImageLength' => 2000, 'SensingMethod' => 2, 'FileSource' => '', 'SceneType' => '', 'CFAPattern' => '' . "\0" . '' . "\0" . '' . "\0" . '', ); array_walk_recursive( $exif, function ( $el ) { if ( !mb_check_encoding( $el, "UTF-8" ) ) { echo "Not utf8<br />"; } } );
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/BliMs
function name:  (null)
number of ops:  7
compiled vars:  !0 = $exif
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, <array>
   65     1        INIT_FCALL                                               'array_walk_recursive'
   66     2        SEND_REF                                                 !0
   67     3        DECLARE_LAMBDA_FUNCTION                                  '%00%7Bclosure%7D%2Fin%2FBliMs%3A67%240'
   73     4        SEND_VAL                                                 ~2
          5        DO_ICALL                                                 
   74     6      > RETURN                                                   1

Function %00%7Bclosure%7D%2Fin%2FBliMs%3A67%240:
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 7, Position 2 = 8
Branch analysis from position: 7
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 8
filename:       /in/BliMs
function name:  {closure}
number of ops:  9
compiled vars:  !0 = $el
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   67     0  E >   RECV                                             !0      
   69     1        INIT_FCALL                                               'mb_check_encoding'
          2        SEND_VAR                                                 !0
          3        SEND_VAL                                                 'UTF-8'
          4        DO_ICALL                                         $1      
          5        BOOL_NOT                                         ~2      $1
          6      > JMPZ                                                     ~2, ->8
   71     7    >   ECHO                                                     'Not+utf8%3Cbr+%2F%3E'
   73     8    > > RETURN                                                   null

End of function %00%7Bclosure%7D%2Fin%2FBliMs%3A67%240

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
146.66 ms | 1399 KiB | 17 Q