nxt_php_sapi.c (1473:e07d5b451423) nxt_php_sapi.c (1482:90460ae5046a)
1/*
2 * Copyright (C) Max Romanov
3 * Copyright (C) Valentin V. Bartenev
4 * Copyright (C) NGINX, Inc.
5 */
6
7#include "php.h"
8#include "SAPI.h"

--- 15 unchanged lines hidden (view full) ---

24#else
25#define NXT_HAVE_PHP_INTERRUPTS 1
26#endif
27
28#if PHP_VERSION_ID >= 70000
29#define NXT_PHP7 1
30#endif
31
1/*
2 * Copyright (C) Max Romanov
3 * Copyright (C) Valentin V. Bartenev
4 * Copyright (C) NGINX, Inc.
5 */
6
7#include "php.h"
8#include "SAPI.h"

--- 15 unchanged lines hidden (view full) ---

24#else
25#define NXT_HAVE_PHP_INTERRUPTS 1
26#endif
27
28#if PHP_VERSION_ID >= 70000
29#define NXT_PHP7 1
30#endif
31
32/* PHP 8 */
33#ifndef TSRMLS_CC
34#define TSRMLS_CC
35#define TSRMLS_DC
36#define TSRMLS_D void
37#define TSRMLS_C
38#endif
32
39
40
33typedef struct {
34 nxt_str_t root;
35 nxt_str_t index;
36 nxt_str_t script_name;
37 nxt_str_t script_dirname;
38 nxt_str_t script_filename;
39} nxt_php_target_t;
40

--- 1229 unchanged lines hidden ---
41typedef struct {
42 nxt_str_t root;
43 nxt_str_t index;
44 nxt_str_t script_name;
45 nxt_str_t script_dirname;
46 nxt_str_t script_filename;
47} nxt_php_target_t;
48

--- 1229 unchanged lines hidden ---