Skip to content

Conversation

nielsdos
Copy link
Member

No description provided.

exif
--SKIPIF--
<?php
if (PHP_OS_FAMILY === "Windows") die("skip *nix only");
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why? The test succeeds for me on Windows (ZTS).

Copy link
Member Author

@nielsdos nielsdos Oct 13, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Didn't expect popen with echo to work on Windows, but to be honest I just assumed it and I didn't try it as I want to avoid Windows unless I really have to.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

My working test was actually:

<?php

$p = popen("echo 1", "r");
exif_thumbnail($p);

:)

@nielsdos nielsdos closed this in 3843f0e Oct 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Segfault in exif_thumbnail when not dealing with a real file

2 participants