{
  "id": 1123269,
  "title": "PHP FFI on Apple Silicon: your ioctl call is lying to you",
  "url": "https://urgent.news/2026/08/15/php-ffi-on-apple-silicon-your-ioctl-call-is-lying-to-you",
  "topic": "tech",
  "section": "Tech",
  "published": "2026-08-15T21:18:27.000Z",
  "source": {
    "name": "Dev.to",
    "slug": "dev-to",
    "url": "https://dev.to/croustibat44/php-ffi-on-apple-silicon-your-ioctl-call-is-lying-to-you-23kj"
  },
  "original_language": "en",
  "account": null,
  "summary": "I spent an evening building pseudo-terminal support for PHP and lost an hour of it to a bug that reports success. If you use FFI and ioctl anywhere near production, and your CI only runs on Linux, this one is worth ten minutes of your time. The setup PHP can already open a pseudo-terminal. proc_open() accepts ['pty'] descriptors, and on macOS you get a real /dev/ttysNNN back. What you do not get…",
  "key_points": [],
  "editors_take": null,
  "illustration": null,
  "coverage": {
    "outlets": 1,
    "also_reported_by": []
  },
  "ai_generated": true,
  "disclaimer": "Summaries, key points and the editor’s take are written by software from other outlets’ reporting and may contain errors — always check the linked original."
}