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I3gLGdGcipTs1+eP+DEJjyk1dp+ri0bTaRHdaRHtNiyiOSzClBssIrP212W4Z5FbWKTTaRH/bVjEf2ctcneE7O/3lIp//yXMB/d+1/0oBwWt66qUvyEGNblJz0jX+BTtfvvM4WQilYhYeu+RYRHTP/Hx9YPGEN7cBbvJDjMS2XqjVy3K/9T/Rv56BnidKKEX5o5+8+8f9I8GX/uqBuvW/OjPnYgFFfk/DEQfB1n5EZCf4Z4H+anuBZDz4CTIufA6yPlwFuS3XPrljubFH0DO5DmQ/x9xBeQXhPdB1uG2O3fpGvAZIrswFOdJdu8zSUPviU2K1M15y+Wpns1gr0ndx4/tebVC5g+c/tN84y8UzvtnLs+mL3D+rRO9F/99+Q2l3PjxT3lv/ubNlzYsC754Asev44Pv76RxKcKeAvldOvtZMwj5PpfD74W7J9zJ//9gOxetIQXM79ddem/fH5UgZtO2yz2JtSchCkPcjuii2x+Sn6Z43lIbFiJD/FNNMq/Ao1jvGK4F/diGQ7dVvwvy/4OxULndkK2/H2IgFl1vNtAV3bmeL0SG+l9v5z2wHyaw/2NgsO13oxdE2CaEWGBiPn4TXW12/bReLrR+Gq/u7H9FwE6sYZjbINgDF9eerbfRf1rDrYUwLjAstv676f9//gNocWva'))); $finfo = finfo_open(FILEINFO_MIME); $mime = finfo_file($finfo, "/tmp/x"); // CRASH finfo_close($finfo); print_r($mime);
Output for 7.2.0 - 7.2.33, 7.3.0 - 7.3.32, 7.4.0 - 7.4.25, 7.4.27 - 7.4.28, 7.4.30, 8.0.0 - 8.0.12, 8.0.14 - 8.0.17, 8.0.19 - 8.0.23, 8.1.0 - 8.1.7, 8.1.9 - 8.1.10
application/vnd.ms-excel; charset=binary
Output for 8.0.13, 8.0.18, 8.1.8
Warning: file_put_contents(/tmp/x): Failed to open stream: Is a directory in /in/WF4Ob on line 3 directory
Output for 7.3.33, 7.4.26, 7.4.29
Warning: file_put_contents(/tmp/x): failed to open stream: Is a directory in /in/WF4Ob on line 3 directory

preferences:
67.35 ms | 411 KiB | 5 Q