GithubHelp home page GithubHelp logo

Comments (8)

mbonneau avatar mbonneau commented on June 11, 2024

@shaunbramley Thank you for the detailed report! Could you post the output of composer info please?

from rxphp.

shaunbramley avatar shaunbramley commented on June 11, 2024

As requested:

Shauns-MacBook-Air:untitled1 shaunbramley$ composer info
evenement/evenement     v3.0.1  ร‰vรฉnement is a very simple event dispatching library for PHP
guzzlehttp/psr7         1.5.2   PSR-7 message implementation that also provides common utility methods
psr/http-message        1.0.1   Common interface for HTTP messages
ralouphie/getallheaders 2.0.5   A polyfill for getallheaders.
react/cache             v0.5.0  Async, Promise-based cache interface for ReactPHP
react/dns               v0.4.16 Async DNS resolver for ReactPHP
react/event-loop        v1.0.0  ReactPHP's core reactor event loop that libraries can use for evented I/O.
react/promise           v2.7.0  A lightweight implementation of CommonJS Promises/A for PHP
react/promise-timer     v1.5.0  A trivial implementation of timeouts for Promises, built on top of ReactPHP.
react/socket            v1.1.0  Async, streaming plaintext TCP/IP and secure TLS socket server and client connections for ReactPHP
react/stream            v1.0.0  Event-driven readable and writable streams for non-blocking I/O in ReactPHP
reactivex/rxphp         2.0.7   Reactive extensions for php.
voryx/event-loop        3.0.0   Global static wrapper for react event-loop
voryx/pgasync           2.0.2   Async Reactive Postgres Driver for PHP (Non-blocking)
Shauns-MacBook-Air:untitled1 shaunbramley$ 

from rxphp.

mbonneau avatar mbonneau commented on June 11, 2024

@shaunbramley - I have tested this with 7.3.0 and 7.3.1 that I built myself and 7.3.1 that homebrew provides and I am unable to reproduce the issue.

composer info:

react/event-loop v1.0.0 ReactPHP's core reactor event loop that libraries can use for evented I/O.
react/promise    v2.7.1 A lightweight implementation of CommonJS Promises/A for PHP
reactivex/rxphp  2.0.7  Reactive extensions for php.
voryx/event-loop 3.0.0  Global static wrapper for react event-loop

`php -v' (from homebrew):

PHP 7.3.1 (cli) (built: Jan 10 2019 13:15:37) ( NTS )
Copyright (c) 1997-2018 The PHP Group
Zend Engine v3.3.1, Copyright (c) 1998-2018 Zend Technologies
    with Zend OPcache v7.3.1, Copyright (c) 1999-2018, by Zend Technologies

I have not been able to look at the xdebug trace that you included but have looked through the php -v output and don't see anything that may be causing issues.

If there is some information that may help you to figure out the difference between my setup and yours feel free to ask.

from rxphp.

shaunbramley avatar shaunbramley commented on June 11, 2024

After reading your last post, i went back and confirmed my settings. I can confirm that my original settings were using Ev v1.0.4.

Script (as previously described) functions properly when Ev extension is not enabled within php.ini file.

from rxphp.

mbonneau avatar mbonneau commented on June 11, 2024

@shaunbramley I built the ev extension for php-7.3.0 and still did not experience the issue.

How did you install the ev extension?

from rxphp.

shaunbramley avatar shaunbramley commented on June 11, 2024

Both ev and xdebug were installed via pecl.

Shauns-MacBook-Air:~ shaunbramley$ xcode-select --version
xcode-select version 2349.

So, last night i deleted, home-brew, and all installed applications, and then reinstalled PHP, ev, and xdebug. Same issues, were experienced.

I'm starting to wonder if this is the result of the fact that the PHP, ev, and xdebug were originally built under 10.11. Prior to upgrading to 10.13...

from rxphp.

shaunbramley avatar shaunbramley commented on June 11, 2024

So....under the suspicion that my issue was related to the upgrade from 10.11 to 10.13 I decided to wipe the system and reinstall 10.13 from scratch. After updating the operating system and installing Xcode
I opened a new prompt and performed the following.

Last login: Sat Jan 19 14:49:53 on console
Shauns-MacBook-Air:~ shaunbramley$ /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
==> This script will install:
/usr/local/bin/brew
/usr/local/share/doc/homebrew
/usr/local/share/man/man1/brew.1
/usr/local/share/zsh/site-functions/_brew
/usr/local/etc/bash_completion.d/brew
/usr/local/Homebrew
==> The following new directories will be created:
/usr/local/bin
/usr/local/etc
/usr/local/include
/usr/local/lib
/usr/local/sbin
/usr/local/share
/usr/local/var
/usr/local/opt
/usr/local/share/zsh
/usr/local/share/zsh/site-functions
/usr/local/var/homebrew
/usr/local/var/homebrew/linked
/usr/local/Cellar
/usr/local/Caskroom
/usr/local/Homebrew
/usr/local/Frameworks
==> The Xcode Command Line Tools will be installed.

Press RETURN to continue or any other key to abort
==> /usr/bin/sudo /bin/mkdir -p /usr/local/bin /usr/local/etc /usr/local/include /usr/local/lib /usr/local/sbin /usr/local/share /usr/local/var /usr/local/opt /usr/local/share/zsh /usr/local/share/zsh/site-functions /usr/local/var/homebrew /usr/local/var/homebrew/linked /usr/local/Cellar /usr/local/Caskroom /usr/local/Homebrew /usr/local/Frameworks
Password:
==> /usr/bin/sudo /bin/chmod g+rwx /usr/local/bin /usr/local/etc /usr/local/include /usr/local/lib /usr/local/sbin /usr/local/share /usr/local/var /usr/local/opt /usr/local/share/zsh /usr/local/share/zsh/site-functions /usr/local/var/homebrew /usr/local/var/homebrew/linked /usr/local/Cellar /usr/local/Caskroom /usr/local/Homebrew /usr/local/Frameworks
==> /usr/bin/sudo /bin/chmod 755 /usr/local/share/zsh /usr/local/share/zsh/site-functions
==> /usr/bin/sudo /usr/sbin/chown shaunbramley /usr/local/bin /usr/local/etc /usr/local/include /usr/local/lib /usr/local/sbin /usr/local/share /usr/local/var /usr/local/opt /usr/local/share/zsh /usr/local/share/zsh/site-functions /usr/local/var/homebrew /usr/local/var/homebrew/linked /usr/local/Cellar /usr/local/Caskroom /usr/local/Homebrew /usr/local/Frameworks
==> /usr/bin/sudo /usr/bin/chgrp admin /usr/local/bin /usr/local/etc /usr/local/include /usr/local/lib /usr/local/sbin /usr/local/share /usr/local/var /usr/local/opt /usr/local/share/zsh /usr/local/share/zsh/site-functions /usr/local/var/homebrew /usr/local/var/homebrew/linked /usr/local/Cellar /usr/local/Caskroom /usr/local/Homebrew /usr/local/Frameworks
==> /usr/bin/sudo /bin/mkdir -p /Users/shaunbramley/Library/Caches/Homebrew
==> /usr/bin/sudo /bin/chmod g+rwx /Users/shaunbramley/Library/Caches/Homebrew
==> /usr/bin/sudo /usr/sbin/chown shaunbramley /Users/shaunbramley/Library/Caches/Homebrew
==> /usr/bin/sudo /bin/mkdir -p /Library/Caches/Homebrew
==> /usr/bin/sudo /bin/chmod g+rwx /Library/Caches/Homebrew
==> /usr/bin/sudo /usr/sbin/chown shaunbramley /Library/Caches/Homebrew
==> Searching online for the Command Line Tools
==> /usr/bin/sudo /usr/bin/touch /tmp/.com.apple.dt.CommandLineTools.installondemand.in-progress
==> Installing Command Line Tools (macOS High Sierra version 10.13) for Xcode-10.1
==> /usr/bin/sudo /usr/sbin/softwareupdate -i Command\ Line\ Tools\ (macOS\ High\ Sierra\ version\ 10.13)\ for\ Xcode-10.1
Software Update Tool


Downloading Command Line Tools (macOS High Sierra version 10.13) for Xcode
Downloaded Command Line Tools (macOS High Sierra version 10.13) for Xcode
Installing Command Line Tools (macOS High Sierra version 10.13) for Xcode
Done with Command Line Tools (macOS High Sierra version 10.13) for Xcode
Done.
==> /usr/bin/sudo /bin/rm -f /tmp/.com.apple.dt.CommandLineTools.installondemand.in-progress
==> /usr/bin/sudo /usr/bin/xcode-select --switch /Library/Developer/CommandLineTools
==> Downloading and installing Homebrew...
remote: Enumerating objects: 31, done.
remote: Counting objects: 100% (31/31), done.
remote: Compressing objects: 100% (22/22), done.
remote: Total 117066 (delta 11), reused 18 (delta 8), pack-reused 117035
Receiving objects: 100% (117066/117066), 27.57 MiB | 8.99 MiB/s, done.
Resolving deltas: 100% (85444/85444), done.
From https://github.com/Homebrew/brew
 * [new branch]          master     -> origin/master
 * [new tag]             0.1        -> 0.1
 * [new tag]             0.2        -> 0.2
 * [new tag]             0.3        -> 0.3
 * [new tag]             0.4        -> 0.4
 * [new tag]             0.5        -> 0.5
 * [new tag]             0.6        -> 0.6
 * [new tag]             0.7        -> 0.7
 * [new tag]             0.7.1      -> 0.7.1
 * [new tag]             0.8        -> 0.8
 * [new tag]             0.8.1      -> 0.8.1
 * [new tag]             0.9        -> 0.9
 * [new tag]             0.9.1      -> 0.9.1
 * [new tag]             0.9.2      -> 0.9.2
 * [new tag]             0.9.3      -> 0.9.3
 * [new tag]             0.9.4      -> 0.9.4
 * [new tag]             0.9.5      -> 0.9.5
 * [new tag]             0.9.8      -> 0.9.8
 * [new tag]             0.9.9      -> 0.9.9
 * [new tag]             1.0.0      -> 1.0.0
 * [new tag]             1.0.1      -> 1.0.1
 * [new tag]             1.0.2      -> 1.0.2
 * [new tag]             1.0.3      -> 1.0.3
 * [new tag]             1.0.4      -> 1.0.4
 * [new tag]             1.0.5      -> 1.0.5
 * [new tag]             1.0.6      -> 1.0.6
 * [new tag]             1.0.7      -> 1.0.7
 * [new tag]             1.0.8      -> 1.0.8
 * [new tag]             1.0.9      -> 1.0.9
 * [new tag]             1.1.0      -> 1.1.0
 * [new tag]             1.1.1      -> 1.1.1
 * [new tag]             1.1.10     -> 1.1.10
 * [new tag]             1.1.11     -> 1.1.11
 * [new tag]             1.1.12     -> 1.1.12
 * [new tag]             1.1.13     -> 1.1.13
 * [new tag]             1.1.2      -> 1.1.2
 * [new tag]             1.1.3      -> 1.1.3
 * [new tag]             1.1.4      -> 1.1.4
 * [new tag]             1.1.5      -> 1.1.5
 * [new tag]             1.1.6      -> 1.1.6
 * [new tag]             1.1.7      -> 1.1.7
 * [new tag]             1.1.8      -> 1.1.8
 * [new tag]             1.1.9      -> 1.1.9
 * [new tag]             1.2.0      -> 1.2.0
 * [new tag]             1.2.1      -> 1.2.1
 * [new tag]             1.2.2      -> 1.2.2
 * [new tag]             1.2.3      -> 1.2.3
 * [new tag]             1.2.4      -> 1.2.4
 * [new tag]             1.2.5      -> 1.2.5
 * [new tag]             1.2.6      -> 1.2.6
 * [new tag]             1.3.0      -> 1.3.0
 * [new tag]             1.3.1      -> 1.3.1
 * [new tag]             1.3.2      -> 1.3.2
 * [new tag]             1.3.3      -> 1.3.3
 * [new tag]             1.3.4      -> 1.3.4
 * [new tag]             1.3.5      -> 1.3.5
 * [new tag]             1.3.6      -> 1.3.6
 * [new tag]             1.3.7      -> 1.3.7
 * [new tag]             1.3.8      -> 1.3.8
 * [new tag]             1.3.9      -> 1.3.9
 * [new tag]             1.4.0      -> 1.4.0
 * [new tag]             1.4.1      -> 1.4.1
 * [new tag]             1.4.2      -> 1.4.2
 * [new tag]             1.4.3      -> 1.4.3
 * [new tag]             1.5.0      -> 1.5.0
 * [new tag]             1.5.1      -> 1.5.1
 * [new tag]             1.5.10     -> 1.5.10
 * [new tag]             1.5.11     -> 1.5.11
 * [new tag]             1.5.12     -> 1.5.12
 * [new tag]             1.5.13     -> 1.5.13
 * [new tag]             1.5.14     -> 1.5.14
 * [new tag]             1.5.2      -> 1.5.2
 * [new tag]             1.5.3      -> 1.5.3
 * [new tag]             1.5.4      -> 1.5.4
 * [new tag]             1.5.5      -> 1.5.5
 * [new tag]             1.5.6      -> 1.5.6
 * [new tag]             1.5.7      -> 1.5.7
 * [new tag]             1.5.8      -> 1.5.8
 * [new tag]             1.5.9      -> 1.5.9
 * [new tag]             1.6.0      -> 1.6.0
 * [new tag]             1.6.1      -> 1.6.1
 * [new tag]             1.6.10     -> 1.6.10
 * [new tag]             1.6.11     -> 1.6.11
 * [new tag]             1.6.12     -> 1.6.12
 * [new tag]             1.6.13     -> 1.6.13
 * [new tag]             1.6.14     -> 1.6.14
 * [new tag]             1.6.15     -> 1.6.15
 * [new tag]             1.6.16     -> 1.6.16
 * [new tag]             1.6.17     -> 1.6.17
 * [new tag]             1.6.2      -> 1.6.2
 * [new tag]             1.6.3      -> 1.6.3
 * [new tag]             1.6.4      -> 1.6.4
 * [new tag]             1.6.5      -> 1.6.5
 * [new tag]             1.6.6      -> 1.6.6
 * [new tag]             1.6.7      -> 1.6.7
 * [new tag]             1.6.8      -> 1.6.8
 * [new tag]             1.6.9      -> 1.6.9
 * [new tag]             1.7.0      -> 1.7.0
 * [new tag]             1.7.1      -> 1.7.1
 * [new tag]             1.7.2      -> 1.7.2
 * [new tag]             1.7.3      -> 1.7.3
 * [new tag]             1.7.4      -> 1.7.4
 * [new tag]             1.7.5      -> 1.7.5
 * [new tag]             1.7.6      -> 1.7.6
 * [new tag]             1.7.7      -> 1.7.7
 * [new tag]             1.8.0      -> 1.8.0
 * [new tag]             1.8.1      -> 1.8.1
 * [new tag]             1.8.2      -> 1.8.2
 * [new tag]             1.8.3      -> 1.8.3
 * [new tag]             1.8.4      -> 1.8.4
 * [new tag]             1.8.5      -> 1.8.5
 * [new tag]             1.8.6      -> 1.8.6
 * [new tag]             1.9.0      -> 1.9.0
 * [new tag]             1.9.1      -> 1.9.1
 * [new tag]             1.9.2      -> 1.9.2
HEAD is now at 60428d4dc Merge pull request #5562 from MikeMcQuaid/max-20-prs
==> Homebrew is run entirely by unpaid volunteers. Please consider donating:
  https://github.com/Homebrew/brew#donations
==> Tapping homebrew/core
Cloning into '/usr/local/Homebrew/Library/Taps/homebrew/homebrew-core'...
remote: Enumerating objects: 4903, done.
remote: Counting objects: 100% (4903/4903), done.
remote: Compressing objects: 100% (4706/4706), done.
remote: Total 4903 (delta 50), reused 326 (delta 5), pack-reused 0
Receiving objects: 100% (4903/4903), 3.99 MiB | 6.63 MiB/s, done.
Resolving deltas: 100% (50/50), done.
Checking out files: 100% (4920/4920), done.
Tapped 2 commands and 4688 formulae (4,945 files, 12.4MB).
Already up-to-date.
==> Installation successful!

==> Homebrew has enabled anonymous aggregate formulae and cask analytics.
Read the analytics documentation (and how to opt-out) here:
  https://docs.brew.sh/Analytics

==> Homebrew is run entirely by unpaid volunteers. Please consider donating:
  https://github.com/Homebrew/brew#donations
==> Next steps:
- Run `brew help` to get started
- Further documentation: 
    https://docs.brew.sh
Shauns-MacBook-Air:~ shaunbramley$ brew doctor
Please note that these warnings are just used to help the Homebrew maintainers
with debugging if you file an issue. If everything you use Homebrew for is
working fine: please don't worry or file an issue; just ignore this. Thanks!

Warning: The filesystem on / appears to be case-sensitive.
The default macOS filesystem is case-insensitive. Please report any apparent problems.
Shauns-MacBook-Air:~ shaunbramley$ brew install git
==> Installing dependencies for git: gettext and pcre2
==> Installing git dependency: gettext
==> Downloading https://homebrew.bintray.com/bottles/gettext-0.19.8.1.high_sierr
######################################################################## 100.0%
==> Pouring gettext-0.19.8.1.high_sierra.bottle.tar.gz
==> Caveats
gettext is keg-only, which means it was not symlinked into /usr/local,
because macOS provides the BSD gettext library & some software gets confused if both are in the library path.

If you need to have gettext first in your PATH run:
  echo 'export PATH="/usr/local/opt/gettext/bin:$PATH"' >> ~/.bash_profile

For compilers to find gettext you may need to set:
  export LDFLAGS="-L/usr/local/opt/gettext/lib"
  export CPPFLAGS="-I/usr/local/opt/gettext/include"

==> Summary
๐Ÿบ  /usr/local/Cellar/gettext/0.19.8.1: 1,935 files, 16.9MB
==> Installing git dependency: pcre2
==> Downloading https://homebrew.bintray.com/bottles/pcre2-10.32.high_sierra.bot
######################################################################## 100.0%
==> Pouring pcre2-10.32.high_sierra.bottle.tar.gz
๐Ÿบ  /usr/local/Cellar/pcre2/10.32: 224 files, 5.4MB
==> Installing git
==> Downloading https://homebrew.bintray.com/bottles/git-2.20.1.high_sierra.bott
######################################################################## 100.0%
==> Pouring git-2.20.1.high_sierra.bottle.3.tar.gz
==> Caveats
Bash completion has been installed to:
  /usr/local/etc/bash_completion.d

zsh completions and functions have been installed to:
  /usr/local/share/zsh/site-functions

Emacs Lisp files have been installed to:
  /usr/local/share/emacs/site-lisp/git
==> Summary
๐Ÿบ  /usr/local/Cellar/git/2.20.1: 1,528 files, 41.4MB
==> Caveats
==> gettext
gettext is keg-only, which means it was not symlinked into /usr/local,
because macOS provides the BSD gettext library & some software gets confused if both are in the library path.

If you need to have gettext first in your PATH run:
  echo 'export PATH="/usr/local/opt/gettext/bin:$PATH"' >> ~/.bash_profile

For compilers to find gettext you may need to set:
  export LDFLAGS="-L/usr/local/opt/gettext/lib"
  export CPPFLAGS="-I/usr/local/opt/gettext/include"

==> git
Bash completion has been installed to:
  /usr/local/etc/bash_completion.d

zsh completions and functions have been installed to:
  /usr/local/share/zsh/site-functions

Emacs Lisp files have been installed to:
  /usr/local/share/emacs/site-lisp/git
Shauns-MacBook-Air:~ shaunbramley$ brew install php
==> Installing dependencies for php: apr, openssl, apr-util, argon2, aspell, autoconf, brotli, c-ares, libidn, libmetalink, libssh2, jansson, jemalloc, libev, libevent, nghttp2, openldap, rtmpdump, curl-openssl, libtool, unixodbc, freetds, libpng, freetype, libffi, pcre, glib, gmp, icu4c, jpeg, libpq, libsodium, libzip, readline, sqlite, tidy-html5 and webp
==> Installing php dependency: apr
==> Downloading https://homebrew.bintray.com/bottles/apr-1.6.5.high_sierra.bottl
######################################################################## 100.0%
==> Pouring apr-1.6.5.high_sierra.bottle.tar.gz
==> Caveats
apr is keg-only, which means it was not symlinked into /usr/local,
because Apple's CLT package contains apr.

If you need to have apr first in your PATH run:
  echo 'export PATH="/usr/local/opt/apr/bin:$PATH"' >> ~/.bash_profile

==> Summary
๐Ÿบ  /usr/local/Cellar/apr/1.6.5: 60 files, 1.3MB
==> Installing php dependency: openssl
==> Downloading https://homebrew.bintray.com/bottles/openssl-1.0.2q.high_sierra.
######################################################################## 100.0%
==> Pouring openssl-1.0.2q.high_sierra.bottle.tar.gz
==> Caveats
A CA file has been bootstrapped using certificates from the SystemRoots
keychain. To add additional certificates (e.g. the certificates added in
the System keychain), place .pem files in
  /usr/local/etc/openssl/certs

and run
  /usr/local/opt/openssl/bin/c_rehash

openssl is keg-only, which means it was not symlinked into /usr/local,
because Apple has deprecated use of OpenSSL in favor of its own TLS and crypto libraries.

If you need to have openssl first in your PATH run:
  echo 'export PATH="/usr/local/opt/openssl/bin:$PATH"' >> ~/.bash_profile

For compilers to find openssl you may need to set:
  export LDFLAGS="-L/usr/local/opt/openssl/lib"
  export CPPFLAGS="-I/usr/local/opt/openssl/include"

==> Summary
๐Ÿบ  /usr/local/Cellar/openssl/1.0.2q: 1,794 files, 12.1MB
==> Installing php dependency: apr-util
==> Downloading https://homebrew.bintray.com/bottles/apr-util-1.6.1_1.high_sierr
######################################################################## 100.0%
==> Pouring apr-util-1.6.1_1.high_sierra.bottle.tar.gz
==> Caveats
apr-util is keg-only, which means it was not symlinked into /usr/local,
because Apple's CLT package contains apr.

If you need to have apr-util first in your PATH run:
  echo 'export PATH="/usr/local/opt/apr-util/bin:$PATH"' >> ~/.bash_profile

==> Summary
๐Ÿบ  /usr/local/Cellar/apr-util/1.6.1_1: 54 files, 778.2KB
==> Installing php dependency: argon2
==> Downloading https://homebrew.bintray.com/bottles/argon2-20171227.high_sierra
######################################################################## 100.0%
==> Pouring argon2-20171227.high_sierra.bottle.tar.gz
๐Ÿบ  /usr/local/Cellar/argon2/20171227: 11 files, 590KB
==> Installing php dependency: aspell
==> Downloading https://homebrew.bintray.com/bottles/aspell-0.60.6.1_1.high_sier
######################################################################## 100.0%
==> Pouring aspell-0.60.6.1_1.high_sierra.bottle.tar.gz
==> Caveats
Installation of the 'is' (Icelandic) and 'nb' (Norwegian) dictionaries is
currently broken. They can be installed manually.

See: https://github.com/Homebrew/homebrew-core/issues/28074
==> Summary
๐Ÿบ  /usr/local/Cellar/aspell/0.60.6.1_1: 267 files, 35.6MB
==> Installing php dependency: autoconf
==> Downloading https://homebrew.bintray.com/bottles/autoconf-2.69.high_sierra.b
######################################################################## 100.0%
==> Pouring autoconf-2.69.high_sierra.bottle.4.tar.gz
==> Caveats
Emacs Lisp files have been installed to:
  /usr/local/share/emacs/site-lisp/autoconf
==> Summary
๐Ÿบ  /usr/local/Cellar/autoconf/2.69: 71 files, 3.0MB
==> Installing php dependency: brotli
==> Downloading https://homebrew.bintray.com/bottles/brotli-1.0.7.high_sierra.bo
######################################################################## 100.0%
==> Pouring brotli-1.0.7.high_sierra.bottle.tar.gz
๐Ÿบ  /usr/local/Cellar/brotli/1.0.7: 25 files, 2.2MB
==> Installing php dependency: c-ares
==> Downloading https://homebrew.bintray.com/bottles/c-ares-1.15.0.high_sierra.b
######################################################################## 100.0%
==> Pouring c-ares-1.15.0.high_sierra.bottle.tar.gz
๐Ÿบ  /usr/local/Cellar/c-ares/1.15.0: 72 files, 482.2KB
==> Installing php dependency: libidn
==> Downloading https://homebrew.bintray.com/bottles/libidn-1.35.high_sierra.bot
######################################################################## 100.0%
==> Pouring libidn-1.35.high_sierra.bottle.tar.gz
==> Caveats
Emacs Lisp files have been installed to:
  /usr/local/share/emacs/site-lisp/libidn
==> Summary
๐Ÿบ  /usr/local/Cellar/libidn/1.35: 72 files, 1.4MB
==> Installing php dependency: libmetalink
==> Downloading https://homebrew.bintray.com/bottles/libmetalink-0.1.3.high_sier
######################################################################## 100.0%
==> Pouring libmetalink-0.1.3.high_sierra.bottle.tar.gz
๐Ÿบ  /usr/local/Cellar/libmetalink/0.1.3: 31 files, 178.8KB
==> Installing php dependency: libssh2
==> Downloading https://homebrew.bintray.com/bottles/libssh2-1.8.0.high_sierra.b
######################################################################## 100.0%
==> Pouring libssh2-1.8.0.high_sierra.bottle.1.tar.gz
๐Ÿบ  /usr/local/Cellar/libssh2/1.8.0: 182 files, 797.4KB
==> Installing php dependency: jansson
==> Downloading https://homebrew.bintray.com/bottles/jansson-2.12.high_sierra.bo
######################################################################## 100.0%
==> Pouring jansson-2.12.high_sierra.bottle.tar.gz
๐Ÿบ  /usr/local/Cellar/jansson/2.12: 11 files, 157.4KB
==> Installing php dependency: jemalloc
==> Downloading https://homebrew.bintray.com/bottles/jemalloc-5.1.0.high_sierra.
######################################################################## 100.0%
==> Pouring jemalloc-5.1.0.high_sierra.bottle.tar.gz
๐Ÿบ  /usr/local/Cellar/jemalloc/5.1.0: 16 files, 1.7MB
==> Installing php dependency: libev
==> Downloading https://homebrew.bintray.com/bottles/libev-4.24.high_sierra.bott
######################################################################## 100.0%
==> Pouring libev-4.24.high_sierra.bottle.tar.gz
๐Ÿบ  /usr/local/Cellar/libev/4.24: 12 files, 432.8KB
==> Installing php dependency: libevent
==> Downloading https://homebrew.bintray.com/bottles/libevent-2.1.8.high_sierra.
######################################################################## 100.0%
==> Pouring libevent-2.1.8.high_sierra.bottle.tar.gz
๐Ÿบ  /usr/local/Cellar/libevent/2.1.8: 847 files, 2.2MB
==> Installing php dependency: nghttp2
==> Downloading https://homebrew.bintray.com/bottles/nghttp2-1.35.1.high_sierra.
######################################################################## 100.0%
==> Pouring nghttp2-1.35.1.high_sierra.bottle.tar.gz
๐Ÿบ  /usr/local/Cellar/nghttp2/1.35.1: 26 files, 2.7MB
==> Installing php dependency: openldap
==> Downloading https://homebrew.bintray.com/bottles/openldap-2.4.47.high_sierra
######################################################################## 100.0%
==> Pouring openldap-2.4.47.high_sierra.bottle.tar.gz
==> Caveats
openldap is keg-only, which means it was not symlinked into /usr/local,
because macOS already provides this software and installing another version in
parallel can cause all kinds of trouble.

If you need to have openldap first in your PATH run:
  echo 'export PATH="/usr/local/opt/openldap/bin:$PATH"' >> ~/.bash_profile
  echo 'export PATH="/usr/local/opt/openldap/sbin:$PATH"' >> ~/.bash_profile

For compilers to find openldap you may need to set:
  export LDFLAGS="-L/usr/local/opt/openldap/lib"
  export CPPFLAGS="-I/usr/local/opt/openldap/include"

==> Summary
๐Ÿบ  /usr/local/Cellar/openldap/2.4.47: 327 files, 6.6MB
==> Installing php dependency: rtmpdump
==> Downloading https://homebrew.bintray.com/bottles/rtmpdump-2.4+20151223.high_
######################################################################## 100.0%
==> Pouring rtmpdump-2.4 20151223.high_sierra.bottle.tar.gz
๐Ÿบ  /usr/local/Cellar/rtmpdump/2.4+20151223: 20 files, 418.8KB
==> Installing php dependency: curl-openssl
==> Downloading https://homebrew.bintray.com/bottles/curl-openssl-7.63.0_1.high_
######################################################################## 100.0%
==> Pouring curl-openssl-7.63.0_1.high_sierra.bottle.tar.gz
==> Caveats
curl-openssl is keg-only, which means it was not symlinked into /usr/local,
because macOS already provides this software and installing another version in
parallel can cause all kinds of trouble.

If you need to have curl-openssl first in your PATH run:
  echo 'export PATH="/usr/local/opt/curl-openssl/bin:$PATH"' >> ~/.bash_profile

For compilers to find curl-openssl you may need to set:
  export LDFLAGS="-L/usr/local/opt/curl-openssl/lib"
  export CPPFLAGS="-I/usr/local/opt/curl-openssl/include"

==> Summary
๐Ÿบ  /usr/local/Cellar/curl-openssl/7.63.0_1: 445 files, 3.4MB
==> Installing php dependency: libtool
==> Downloading https://homebrew.bintray.com/bottles/libtool-2.4.6_1.high_sierra
######################################################################## 100.0%
==> Pouring libtool-2.4.6_1.high_sierra.bottle.tar.gz
==> Caveats
In order to prevent conflicts with Apple's own libtool we have prepended a "g"
so, you have instead: glibtool and glibtoolize.
==> Summary
๐Ÿบ  /usr/local/Cellar/libtool/2.4.6_1: 71 files, 3.7MB
==> Installing php dependency: unixodbc
==> Downloading https://homebrew.bintray.com/bottles/unixodbc-2.3.7.high_sierra.
######################################################################## 100.0%
==> Pouring unixodbc-2.3.7.high_sierra.bottle.tar.gz
๐Ÿบ  /usr/local/Cellar/unixodbc/2.3.7: 46 files, 1.8MB
==> Installing php dependency: freetds
==> Downloading https://homebrew.bintray.com/bottles/freetds-1.00.109.high_sierr
######################################################################## 100.0%
==> Pouring freetds-1.00.109.high_sierra.bottle.tar.gz
๐Ÿบ  /usr/local/Cellar/freetds/1.00.109: 2,098 files, 12.9MB
==> Installing php dependency: libpng
==> Downloading https://homebrew.bintray.com/bottles/libpng-1.6.36.high_sierra.b
######################################################################## 100.0%
==> Pouring libpng-1.6.36.high_sierra.bottle.tar.gz
๐Ÿบ  /usr/local/Cellar/libpng/1.6.36: 27 files, 1.2MB
==> Installing php dependency: freetype
==> Downloading https://homebrew.bintray.com/bottles/freetype-2.9.1.high_sierra.
######################################################################## 100.0%
==> Pouring freetype-2.9.1.high_sierra.bottle.tar.gz
๐Ÿบ  /usr/local/Cellar/freetype/2.9.1: 60 files, 2.6MB
==> Installing php dependency: libffi
==> Downloading https://homebrew.bintray.com/bottles/libffi-3.2.1.high_sierra.bo
######################################################################## 100.0%
==> Pouring libffi-3.2.1.high_sierra.bottle.tar.gz
==> Caveats
libffi is keg-only, which means it was not symlinked into /usr/local,
because some formulae require a newer version of libffi.

For compilers to find libffi you may need to set:
  export LDFLAGS="-L/usr/local/opt/libffi/lib"

==> Summary
๐Ÿบ  /usr/local/Cellar/libffi/3.2.1: 16 files, 297.0KB
==> Installing php dependency: pcre
==> Downloading https://homebrew.bintray.com/bottles/pcre-8.42.high_sierra.bottl
######################################################################## 100.0%
==> Pouring pcre-8.42.high_sierra.bottle.tar.gz
๐Ÿบ  /usr/local/Cellar/pcre/8.42: 204 files, 5.3MB
==> Installing php dependency: glib
==> Downloading https://homebrew.bintray.com/bottles/glib-2.58.2.high_sierra.bot
######################################################################## 100.0%
==> Pouring glib-2.58.2.high_sierra.bottle.tar.gz
๐Ÿบ  /usr/local/Cellar/glib/2.58.2: 435 files, 18.5MB
==> Installing php dependency: gmp
==> Downloading https://homebrew.bintray.com/bottles/gmp-6.1.2_2.high_sierra.bot
######################################################################## 100.0%
==> Pouring gmp-6.1.2_2.high_sierra.bottle.tar.gz
๐Ÿบ  /usr/local/Cellar/gmp/6.1.2_2: 18 files, 3.1MB
==> Installing php dependency: icu4c
==> Downloading https://homebrew.bintray.com/bottles/icu4c-63.1.high_sierra.bott
######################################################################## 100.0%
==> Pouring icu4c-63.1.high_sierra.bottle.tar.gz
==> Caveats
icu4c is keg-only, which means it was not symlinked into /usr/local,
because macOS provides libicucore.dylib (but nothing else).

If you need to have icu4c first in your PATH run:
  echo 'export PATH="/usr/local/opt/icu4c/bin:$PATH"' >> ~/.bash_profile
  echo 'export PATH="/usr/local/opt/icu4c/sbin:$PATH"' >> ~/.bash_profile

For compilers to find icu4c you may need to set:
  export LDFLAGS="-L/usr/local/opt/icu4c/lib"
  export CPPFLAGS="-I/usr/local/opt/icu4c/include"

==> Summary
๐Ÿบ  /usr/local/Cellar/icu4c/63.1: 254 files, 68.4MB
==> Installing php dependency: jpeg
==> Downloading https://homebrew.bintray.com/bottles/jpeg-9c.high_sierra.bottle.
######################################################################## 100.0%
==> Pouring jpeg-9c.high_sierra.bottle.tar.gz
๐Ÿบ  /usr/local/Cellar/jpeg/9c: 21 files, 724.5KB
==> Installing php dependency: libpq
==> Downloading https://homebrew.bintray.com/bottles/libpq-11.1.high_sierra.bott
######################################################################## 100.0%
==> Pouring libpq-11.1.high_sierra.bottle.tar.gz
==> Caveats
libpq is keg-only, which means it was not symlinked into /usr/local,
because conflicts with postgres formula.

If you need to have libpq first in your PATH run:
  echo 'export PATH="/usr/local/opt/libpq/bin:$PATH"' >> ~/.bash_profile

For compilers to find libpq you may need to set:
  export LDFLAGS="-L/usr/local/opt/libpq/lib"
  export CPPFLAGS="-I/usr/local/opt/libpq/include"

==> Summary
๐Ÿบ  /usr/local/Cellar/libpq/11.1: 2,567 files, 27.3MB
==> Installing php dependency: libsodium
==> Downloading https://homebrew.bintray.com/bottles/libsodium-1.0.17.high_sierr
######################################################################## 100.0%
==> Pouring libsodium-1.0.17.high_sierra.bottle.tar.gz
๐Ÿบ  /usr/local/Cellar/libsodium/1.0.17: 71 files, 979.0KB
==> Installing php dependency: libzip
==> Downloading https://homebrew.bintray.com/bottles/libzip-1.5.1.high_sierra.bo
######################################################################## 100.0%
==> Pouring libzip-1.5.1.high_sierra.bottle.tar.gz
๐Ÿบ  /usr/local/Cellar/libzip/1.5.1: 134 files, 577KB
==> Installing php dependency: readline
==> Downloading https://homebrew.bintray.com/bottles/readline-8.0.0.high_sierra.
######################################################################## 100.0%
==> Pouring readline-8.0.0.high_sierra.bottle.tar.gz
==> Caveats
readline is keg-only, which means it was not symlinked into /usr/local,
because macOS provides the BSD libedit library, which shadows libreadline.
In order to prevent conflicts when programs look for libreadline we are
defaulting this GNU Readline installation to keg-only.

For compilers to find readline you may need to set:
  export LDFLAGS="-L/usr/local/opt/readline/lib"
  export CPPFLAGS="-I/usr/local/opt/readline/include"

==> Summary
๐Ÿบ  /usr/local/Cellar/readline/8.0.0: 48 files, 1.5MB
==> Installing php dependency: sqlite
==> Downloading https://homebrew.bintray.com/bottles/sqlite-3.26.0_1.high_sierra
######################################################################## 100.0%
==> Pouring sqlite-3.26.0_1.high_sierra.bottle.1.tar.gz
==> Caveats
sqlite is keg-only, which means it was not symlinked into /usr/local,
because macOS provides an older sqlite3.

If you need to have sqlite first in your PATH run:
  echo 'export PATH="/usr/local/opt/sqlite/bin:$PATH"' >> ~/.bash_profile

For compilers to find sqlite you may need to set:
  export LDFLAGS="-L/usr/local/opt/sqlite/lib"
  export CPPFLAGS="-I/usr/local/opt/sqlite/include"

==> Summary
๐Ÿบ  /usr/local/Cellar/sqlite/3.26.0_1: 11 files, 3.7MB
==> Installing php dependency: tidy-html5
==> Downloading https://homebrew.bintray.com/bottles/tidy-html5-5.6.0.high_sierr
######################################################################## 100.0%
==> Pouring tidy-html5-5.6.0.high_sierra.bottle.tar.gz
๐Ÿบ  /usr/local/Cellar/tidy-html5/5.6.0: 14 files, 2.6MB
==> Installing php dependency: webp
==> Downloading https://homebrew.bintray.com/bottles/webp-1.0.1.sierra.bottle.ta
######################################################################## 100.0%
==> Pouring webp-1.0.1.sierra.bottle.tar.gz
๐Ÿบ  /usr/local/Cellar/webp/1.0.1: 39 files, 2MB
==> Installing php
==> Downloading https://homebrew.bintray.com/bottles/php-7.3.1.high_sierra.bottl
######################################################################## 100.0%
==> Pouring php-7.3.1.high_sierra.bottle.tar.gz
==> /usr/local/Cellar/php/7.3.1/bin/pear config-set php_ini /usr/local/etc/php/7
==> /usr/local/Cellar/php/7.3.1/bin/pear config-set php_dir /usr/local/share/pea
==> /usr/local/Cellar/php/7.3.1/bin/pear config-set doc_dir /usr/local/share/pea
==> /usr/local/Cellar/php/7.3.1/bin/pear config-set ext_dir /usr/local/lib/php/p
==> /usr/local/Cellar/php/7.3.1/bin/pear config-set bin_dir /usr/local/opt/php/b
==> /usr/local/Cellar/php/7.3.1/bin/pear config-set data_dir /usr/local/share/pe
==> /usr/local/Cellar/php/7.3.1/bin/pear config-set cfg_dir /usr/local/share/pea
==> /usr/local/Cellar/php/7.3.1/bin/pear config-set www_dir /usr/local/share/pea
==> /usr/local/Cellar/php/7.3.1/bin/pear config-set man_dir /usr/local/share/man
==> /usr/local/Cellar/php/7.3.1/bin/pear config-set test_dir /usr/local/share/pe
==> /usr/local/Cellar/php/7.3.1/bin/pear config-set php_bin /usr/local/opt/php/b
==> /usr/local/Cellar/php/7.3.1/bin/pear update-channels
==> Caveats
To enable PHP in Apache add the following to httpd.conf and restart Apache:
    LoadModule php7_module /usr/local/opt/php/lib/httpd/modules/libphp7.so

    <FilesMatch \.php$>
        SetHandler application/x-httpd-php
    </FilesMatch>

Finally, check DirectoryIndex includes index.php
    DirectoryIndex index.php index.html

The php.ini and php-fpm.ini file can be found in:
    /usr/local/etc/php/7.3/

To have launchd start php now and restart at login:
  brew services start php
Or, if you don't want/need a background service you can just run:
  php-fpm
==> Summary
๐Ÿบ  /usr/local/Cellar/php/7.3.1: 521 files, 76.5MB
==> Caveats
==> apr
apr is keg-only, which means it was not symlinked into /usr/local,
because Apple's CLT package contains apr.

If you need to have apr first in your PATH run:
  echo 'export PATH="/usr/local/opt/apr/bin:$PATH"' >> ~/.bash_profile

==> openssl
A CA file has been bootstrapped using certificates from the SystemRoots
keychain. To add additional certificates (e.g. the certificates added in
the System keychain), place .pem files in
  /usr/local/etc/openssl/certs

and run
  /usr/local/opt/openssl/bin/c_rehash

openssl is keg-only, which means it was not symlinked into /usr/local,
because Apple has deprecated use of OpenSSL in favor of its own TLS and crypto libraries.

If you need to have openssl first in your PATH run:
  echo 'export PATH="/usr/local/opt/openssl/bin:$PATH"' >> ~/.bash_profile

For compilers to find openssl you may need to set:
  export LDFLAGS="-L/usr/local/opt/openssl/lib"
  export CPPFLAGS="-I/usr/local/opt/openssl/include"

==> apr-util
apr-util is keg-only, which means it was not symlinked into /usr/local,
because Apple's CLT package contains apr.

If you need to have apr-util first in your PATH run:
  echo 'export PATH="/usr/local/opt/apr-util/bin:$PATH"' >> ~/.bash_profile

==> aspell
Installation of the 'is' (Icelandic) and 'nb' (Norwegian) dictionaries is
currently broken. They can be installed manually.

See: https://github.com/Homebrew/homebrew-core/issues/28074
==> autoconf
Emacs Lisp files have been installed to:
  /usr/local/share/emacs/site-lisp/autoconf
==> libidn
Emacs Lisp files have been installed to:
  /usr/local/share/emacs/site-lisp/libidn
==> openldap
openldap is keg-only, which means it was not symlinked into /usr/local,
because macOS already provides this software and installing another version in
parallel can cause all kinds of trouble.

If you need to have openldap first in your PATH run:
  echo 'export PATH="/usr/local/opt/openldap/bin:$PATH"' >> ~/.bash_profile
  echo 'export PATH="/usr/local/opt/openldap/sbin:$PATH"' >> ~/.bash_profile

For compilers to find openldap you may need to set:
  export LDFLAGS="-L/usr/local/opt/openldap/lib"
  export CPPFLAGS="-I/usr/local/opt/openldap/include"

==> curl-openssl
curl-openssl is keg-only, which means it was not symlinked into /usr/local,
because macOS already provides this software and installing another version in
parallel can cause all kinds of trouble.

If you need to have curl-openssl first in your PATH run:
  echo 'export PATH="/usr/local/opt/curl-openssl/bin:$PATH"' >> ~/.bash_profile

For compilers to find curl-openssl you may need to set:
  export LDFLAGS="-L/usr/local/opt/curl-openssl/lib"
  export CPPFLAGS="-I/usr/local/opt/curl-openssl/include"

==> libtool
In order to prevent conflicts with Apple's own libtool we have prepended a "g"
so, you have instead: glibtool and glibtoolize.
==> libffi
libffi is keg-only, which means it was not symlinked into /usr/local,
because some formulae require a newer version of libffi.

For compilers to find libffi you may need to set:
  export LDFLAGS="-L/usr/local/opt/libffi/lib"

==> icu4c
icu4c is keg-only, which means it was not symlinked into /usr/local,
because macOS provides libicucore.dylib (but nothing else).

If you need to have icu4c first in your PATH run:
  echo 'export PATH="/usr/local/opt/icu4c/bin:$PATH"' >> ~/.bash_profile
  echo 'export PATH="/usr/local/opt/icu4c/sbin:$PATH"' >> ~/.bash_profile

For compilers to find icu4c you may need to set:
  export LDFLAGS="-L/usr/local/opt/icu4c/lib"
  export CPPFLAGS="-I/usr/local/opt/icu4c/include"

==> libpq
libpq is keg-only, which means it was not symlinked into /usr/local,
because conflicts with postgres formula.

If you need to have libpq first in your PATH run:
  echo 'export PATH="/usr/local/opt/libpq/bin:$PATH"' >> ~/.bash_profile

For compilers to find libpq you may need to set:
  export LDFLAGS="-L/usr/local/opt/libpq/lib"
  export CPPFLAGS="-I/usr/local/opt/libpq/include"

==> readline
readline is keg-only, which means it was not symlinked into /usr/local,
because macOS provides the BSD libedit library, which shadows libreadline.
In order to prevent conflicts when programs look for libreadline we are
defaulting this GNU Readline installation to keg-only.

For compilers to find readline you may need to set:
  export LDFLAGS="-L/usr/local/opt/readline/lib"
  export CPPFLAGS="-I/usr/local/opt/readline/include"

==> sqlite
sqlite is keg-only, which means it was not symlinked into /usr/local,
because macOS provides an older sqlite3.

If you need to have sqlite first in your PATH run:
  echo 'export PATH="/usr/local/opt/sqlite/bin:$PATH"' >> ~/.bash_profile

For compilers to find sqlite you may need to set:
  export LDFLAGS="-L/usr/local/opt/sqlite/lib"
  export CPPFLAGS="-I/usr/local/opt/sqlite/include"

==> php
To enable PHP in Apache add the following to httpd.conf and restart Apache:
    LoadModule php7_module /usr/local/opt/php/lib/httpd/modules/libphp7.so

    <FilesMatch \.php$>
        SetHandler application/x-httpd-php
    </FilesMatch>

Finally, check DirectoryIndex includes index.php
    DirectoryIndex index.php index.html

The php.ini and php-fpm.ini file can be found in:
    /usr/local/etc/php/7.3/

To have launchd start php now and restart at login:
  brew services start php
Or, if you don't want/need a background service you can just run:
  php-fpm
Shauns-MacBook-Air:~ shaunbramley$ php -v
PHP 7.3.1 (cli) (built: Jan 10 2019 13:16:34) ( NTS )
Copyright (c) 1997-2018 The PHP Group
Zend Engine v3.3.1, Copyright (c) 1998-2018 Zend Technologies
    with Zend OPcache v7.3.1, Copyright (c) 1999-2018, by Zend Technologies
Shauns-MacBook-Air:~ shaunbramley$ pecl install ev
downloading ev-1.0.4.tgz ...
Starting to download ev-1.0.4.tgz (124,735 bytes)
.....done: 124,735 bytes
85 source files, building
running: phpize
Configuring for:
PHP Api Version:         20180731
Zend Module Api No:      20180731
Zend Extension Api No:   320180731
Enable internal debugging in ev [no] : 
building in /private/tmp/pear/temp/pear-build-shaunbramleyysnfZo/ev-1.0.4
running: /private/tmp/pear/temp/ev/configure --with-php-config=/usr/local/opt/php/bin/php-config --enable-ev-debug=no
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for a sed that does not truncate output... /usr/bin/sed
checking for cc... cc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether cc accepts -g... yes
checking for cc option to accept ISO C89... none needed
checking how to run the C preprocessor... cc -E
checking for icc... no
checking for suncc... no
checking whether cc understands -c and -o together... yes
checking for system library directory... lib
checking if compiler supports -R... no
checking if compiler supports -Wl,-rpath,... yes
checking build system type... x86_64-apple-darwin17.7.0
checking host system type... x86_64-apple-darwin17.7.0
checking target system type... x86_64-apple-darwin17.7.0
checking for PHP prefix... /usr/local/Cellar/php/7.3.1
checking for PHP includes... -I/usr/local/Cellar/php/7.3.1/include/php -I/usr/local/Cellar/php/7.3.1/include/php/main -I/usr/local/Cellar/php/7.3.1/include/php/TSRM -I/usr/local/Cellar/php/7.3.1/include/php/Zend -I/usr/local/Cellar/php/7.3.1/include/php/ext -I/usr/local/Cellar/php/7.3.1/include/php/ext/date/lib
checking for PHP extension directory... /usr/local/Cellar/php/7.3.1/pecl/20180731
checking for PHP installed headers prefix... /usr/local/Cellar/php/7.3.1/include/php
checking if debug is enabled... no
checking if zts is enabled... no
checking for re2c... no
configure: WARNING: You will need re2c 0.13.4 or later if you want to regenerate PHP parsers.
checking for gawk... no
checking for nawk... no
checking for awk... awk
checking if awk is broken... no
checking whether to enable ev... yes, shared
checking for ev debug support... no
checking whether Ev supports the current PHP version... ok
checking PHP version... PHP 7.x
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking sys/inotify.h usability... no
checking sys/inotify.h presence... no
checking for sys/inotify.h... no
checking sys/epoll.h usability... no
checking sys/epoll.h presence... no
checking for sys/epoll.h... no
checking sys/event.h usability... yes
checking sys/event.h presence... yes
checking for sys/event.h... yes
checking port.h usability... no
checking port.h presence... no
checking for port.h... no
checking poll.h usability... yes
checking poll.h presence... yes
checking for poll.h... yes
checking sys/select.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking sys/eventfd.h usability... no
checking sys/eventfd.h presence... no
checking for sys/eventfd.h... no
checking sys/signalfd.h usability... no
checking sys/signalfd.h presence... no
checking for sys/signalfd.h... no
checking for inotify_init... no
checking for epoll_ctl... no
checking for kqueue... yes
checking for port_create... no
checking for poll... yes
checking for select... yes
checking for eventfd... no
checking for signalfd... no
checking for clock_gettime... yes
checking for nanosleep... yes
checking for library containing floor... none required
checking for ld used by cc... /Library/Developer/CommandLineTools/usr/bin/ld
checking if the linker (/Library/Developer/CommandLineTools/usr/bin/ld) is GNU ld... no
checking for /Library/Developer/CommandLineTools/usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognize dependent libraries... pass_all
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking the maximum length of command line arguments... 196608
checking command to parse /usr/bin/nm -B output from cc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking for dsymutil... dsymutil
checking for nmedit... nmedit
checking for -single_module linker flag... yes
checking for -exported_symbols_list linker flag... yes
checking if cc supports -fno-rtti -fno-exceptions... yes
checking for cc option to produce PIC... -fno-common
checking if cc PIC flag -fno-common works... yes
checking if cc static flag -static works... no
checking if cc supports -c -o file.o... yes
checking whether the cc linker (/Library/Developer/CommandLineTools/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... darwin17.7.0 dyld
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no

creating libtool
appending configuration tag "CXX" to libtool
configure: creating ./config.status
config.status: creating config.h
running: make
/bin/sh /private/tmp/pear/temp/pear-build-shaunbramleyysnfZo/ev-1.0.4/libtool --mode=compile cc -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -I/private/tmp/pear/temp/ev/libev  -I. -I/private/tmp/pear/temp/ev -DPHP_ATOM_INC -I/private/tmp/pear/temp/pear-build-shaunbramleyysnfZo/ev-1.0.4/include -I/private/tmp/pear/temp/pear-build-shaunbramleyysnfZo/ev-1.0.4/main -I/private/tmp/pear/temp/ev -I/usr/local/Cellar/php/7.3.1/include/php -I/usr/local/Cellar/php/7.3.1/include/php/main -I/usr/local/Cellar/php/7.3.1/include/php/TSRM -I/usr/local/Cellar/php/7.3.1/include/php/Zend -I/usr/local/Cellar/php/7.3.1/include/php/ext -I/usr/local/Cellar/php/7.3.1/include/php/ext/date/lib -I/private/tmp/pear/temp/ev/php7  -DHAVE_CONFIG_H  -g -O2   -c /private/tmp/pear/temp/ev/php7/evwrap.c -o php7/evwrap.lo
mkdir php7/.libs
 cc -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -I/private/tmp/pear/temp/ev/libev -I. -I/private/tmp/pear/temp/ev -DPHP_ATOM_INC -I/private/tmp/pear/temp/pear-build-shaunbramleyysnfZo/ev-1.0.4/include -I/private/tmp/pear/temp/pear-build-shaunbramleyysnfZo/ev-1.0.4/main -I/private/tmp/pear/temp/ev -I/usr/local/Cellar/php/7.3.1/include/php -I/usr/local/Cellar/php/7.3.1/include/php/main -I/usr/local/Cellar/php/7.3.1/include/php/TSRM -I/usr/local/Cellar/php/7.3.1/include/php/Zend -I/usr/local/Cellar/php/7.3.1/include/php/ext -I/usr/local/Cellar/php/7.3.1/include/php/ext/date/lib -I/private/tmp/pear/temp/ev/php7 -DHAVE_CONFIG_H -g -O2 -c /private/tmp/pear/temp/ev/php7/evwrap.c  -fno-common -DPIC -o php7/.libs/evwrap.o
In file included from /private/tmp/pear/temp/ev/php7/evwrap.c:2:
/private/tmp/pear/temp/ev/php7/../libev/ev.c:483:48: warning: '/*' within block comment [-Wcomment]
/*#define MIN_INTERVAL  0.00000095367431640625 /* 1/2**20, good till 2200 */
                                               ^
/private/tmp/pear/temp/ev/php7/../libev/ev.c:1825:31: warning: 'extern' variable has an initializer [-Wextern-initializer]
  EV_API_DECL struct ev_loop *ev_default_loop_ptr = 0; /* needs to be initialised to make it a definition despite extern */
                              ^
/private/tmp/pear/temp/ev/php7/../libev/ev.c:3848:34: warning: '&' within '|' [-Wbitwise-op-parentheses]
  fd_change (EV_A_ fd, w->events & EV__IOFDSET | EV_ANFD_REIFY);
                       ~~~~~~~~~~^~~~~~~~~~~~~ ~
/private/tmp/pear/temp/ev/php7/../libev/ev.c:3848:34: note: place parentheses around the '&' expression to silence this warning
  fd_change (EV_A_ fd, w->events & EV__IOFDSET | EV_ANFD_REIFY);
                                 ^
                       (                      )
3 warnings generated.
/bin/sh /private/tmp/pear/temp/pear-build-shaunbramleyysnfZo/ev-1.0.4/libtool --mode=compile cc -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -I/private/tmp/pear/temp/ev/libev  -I. -I/private/tmp/pear/temp/ev -DPHP_ATOM_INC -I/private/tmp/pear/temp/pear-build-shaunbramleyysnfZo/ev-1.0.4/include -I/private/tmp/pear/temp/pear-build-shaunbramleyysnfZo/ev-1.0.4/main -I/private/tmp/pear/temp/ev -I/usr/local/Cellar/php/7.3.1/include/php -I/usr/local/Cellar/php/7.3.1/include/php/main -I/usr/local/Cellar/php/7.3.1/include/php/TSRM -I/usr/local/Cellar/php/7.3.1/include/php/Zend -I/usr/local/Cellar/php/7.3.1/include/php/ext -I/usr/local/Cellar/php/7.3.1/include/php/ext/date/lib -I/private/tmp/pear/temp/ev/php7  -DHAVE_CONFIG_H  -g -O2   -c /private/tmp/pear/temp/ev/php7/util.c -o php7/util.lo
 cc -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -I/private/tmp/pear/temp/ev/libev -I. -I/private/tmp/pear/temp/ev -DPHP_ATOM_INC -I/private/tmp/pear/temp/pear-build-shaunbramleyysnfZo/ev-1.0.4/include -I/private/tmp/pear/temp/pear-build-shaunbramleyysnfZo/ev-1.0.4/main -I/private/tmp/pear/temp/ev -I/usr/local/Cellar/php/7.3.1/include/php -I/usr/local/Cellar/php/7.3.1/include/php/main -I/usr/local/Cellar/php/7.3.1/include/php/TSRM -I/usr/local/Cellar/php/7.3.1/include/php/Zend -I/usr/local/Cellar/php/7.3.1/include/php/ext -I/usr/local/Cellar/php/7.3.1/include/php/ext/date/lib -I/private/tmp/pear/temp/ev/php7 -DHAVE_CONFIG_H -g -O2 -c /private/tmp/pear/temp/ev/php7/util.c  -fno-common -DPIC -o php7/.libs/util.o
/bin/sh /private/tmp/pear/temp/pear-build-shaunbramleyysnfZo/ev-1.0.4/libtool --mode=compile cc -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -I/private/tmp/pear/temp/ev/libev  -I. -I/private/tmp/pear/temp/ev -DPHP_ATOM_INC -I/private/tmp/pear/temp/pear-build-shaunbramleyysnfZo/ev-1.0.4/include -I/private/tmp/pear/temp/pear-build-shaunbramleyysnfZo/ev-1.0.4/main -I/private/tmp/pear/temp/ev -I/usr/local/Cellar/php/7.3.1/include/php -I/usr/local/Cellar/php/7.3.1/include/php/main -I/usr/local/Cellar/php/7.3.1/include/php/TSRM -I/usr/local/Cellar/php/7.3.1/include/php/Zend -I/usr/local/Cellar/php/7.3.1/include/php/ext -I/usr/local/Cellar/php/7.3.1/include/php/ext/date/lib -I/private/tmp/pear/temp/ev/php7  -DHAVE_CONFIG_H  -g -O2   -c /private/tmp/pear/temp/ev/php7/ev.c -o php7/ev.lo
 cc -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -I/private/tmp/pear/temp/ev/libev -I. -I/private/tmp/pear/temp/ev -DPHP_ATOM_INC -I/private/tmp/pear/temp/pear-build-shaunbramleyysnfZo/ev-1.0.4/include -I/private/tmp/pear/temp/pear-build-shaunbramleyysnfZo/ev-1.0.4/main -I/private/tmp/pear/temp/ev -I/usr/local/Cellar/php/7.3.1/include/php -I/usr/local/Cellar/php/7.3.1/include/php/main -I/usr/local/Cellar/php/7.3.1/include/php/TSRM -I/usr/local/Cellar/php/7.3.1/include/php/Zend -I/usr/local/Cellar/php/7.3.1/include/php/ext -I/usr/local/Cellar/php/7.3.1/include/php/ext/date/lib -I/private/tmp/pear/temp/ev/php7 -DHAVE_CONFIG_H -g -O2 -c /private/tmp/pear/temp/ev/php7/ev.c  -fno-common -DPIC -o php7/.libs/ev.o
/private/tmp/pear/temp/ev/php7/ev.c:251:25: warning: initializing 'zend_object_handlers *' (aka 'struct _zend_object_handlers *') with an expression of type 'const zend_object_handlers *' (aka 'const struct _zend_object_handlers *') discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
                zend_object_handlers *std_hnd = zend_get_std_object_handlers();
                                      ^         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/private/tmp/pear/temp/ev/php7/ev.c:285:28: warning: initializing 'zend_object_handlers *' (aka 'struct _zend_object_handlers *') with an expression of type 'const zend_object_handlers *' (aka 'const struct _zend_object_handlers *') discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
            zend_object_handlers *std_hnd = zend_get_std_object_handlers();
                                  ^         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/private/tmp/pear/temp/ev/php7/ev.c:329:25: warning: initializing 'zend_object_handlers *' (aka 'struct _zend_object_handlers *') with an expression of type 'const zend_object_handlers *' (aka 'const struct _zend_object_handlers *') discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
                zend_object_handlers *std_hnd = zend_get_std_object_handlers();
                                      ^         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/private/tmp/pear/temp/ev/php7/ev.c:463:25: warning: initializing 'zend_object_handlers *' (aka 'struct _zend_object_handlers *') with an expression of type 'const zend_object_handlers *' (aka 'const struct _zend_object_handlers *') discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
                zend_object_handlers *std_hnd = zend_get_std_object_handlers();
                                      ^         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/private/tmp/pear/temp/ev/php7/ev.c:1111:24: warning: initializing 'zend_object_handlers *' (aka 'struct _zend_object_handlers *') with an expression of type 'const zend_object_handlers *' (aka 'const struct _zend_object_handlers *') discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
        zend_object_handlers *std_hnd = zend_get_std_object_handlers();
                              ^         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
5 warnings generated.
/bin/sh /private/tmp/pear/temp/pear-build-shaunbramleyysnfZo/ev-1.0.4/libtool --mode=compile cc -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -I/private/tmp/pear/temp/ev/libev  -I. -I/private/tmp/pear/temp/ev -DPHP_ATOM_INC -I/private/tmp/pear/temp/pear-build-shaunbramleyysnfZo/ev-1.0.4/include -I/private/tmp/pear/temp/pear-build-shaunbramleyysnfZo/ev-1.0.4/main -I/private/tmp/pear/temp/ev -I/usr/local/Cellar/php/7.3.1/include/php -I/usr/local/Cellar/php/7.3.1/include/php/main -I/usr/local/Cellar/php/7.3.1/include/php/TSRM -I/usr/local/Cellar/php/7.3.1/include/php/Zend -I/usr/local/Cellar/php/7.3.1/include/php/ext -I/usr/local/Cellar/php/7.3.1/include/php/ext/date/lib -I/private/tmp/pear/temp/ev/php7  -DHAVE_CONFIG_H  -g -O2   -c /private/tmp/pear/temp/ev/php7/watcher.c -o php7/watcher.lo
 cc -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -I/private/tmp/pear/temp/ev/libev -I. -I/private/tmp/pear/temp/ev -DPHP_ATOM_INC -I/private/tmp/pear/temp/pear-build-shaunbramleyysnfZo/ev-1.0.4/include -I/private/tmp/pear/temp/pear-build-shaunbramleyysnfZo/ev-1.0.4/main -I/private/tmp/pear/temp/ev -I/usr/local/Cellar/php/7.3.1/include/php -I/usr/local/Cellar/php/7.3.1/include/php/main -I/usr/local/Cellar/php/7.3.1/include/php/TSRM -I/usr/local/Cellar/php/7.3.1/include/php/Zend -I/usr/local/Cellar/php/7.3.1/include/php/ext -I/usr/local/Cellar/php/7.3.1/include/php/ext/date/lib -I/private/tmp/pear/temp/ev/php7 -DHAVE_CONFIG_H -g -O2 -c /private/tmp/pear/temp/ev/php7/watcher.c  -fno-common -DPIC -o php7/.libs/watcher.o
/bin/sh /private/tmp/pear/temp/pear-build-shaunbramleyysnfZo/ev-1.0.4/libtool --mode=compile cc -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -I/private/tmp/pear/temp/ev/libev  -I. -I/private/tmp/pear/temp/ev -DPHP_ATOM_INC -I/private/tmp/pear/temp/pear-build-shaunbramleyysnfZo/ev-1.0.4/include -I/private/tmp/pear/temp/pear-build-shaunbramleyysnfZo/ev-1.0.4/main -I/private/tmp/pear/temp/ev -I/usr/local/Cellar/php/7.3.1/include/php -I/usr/local/Cellar/php/7.3.1/include/php/main -I/usr/local/Cellar/php/7.3.1/include/php/TSRM -I/usr/local/Cellar/php/7.3.1/include/php/Zend -I/usr/local/Cellar/php/7.3.1/include/php/ext -I/usr/local/Cellar/php/7.3.1/include/php/ext/date/lib -I/private/tmp/pear/temp/ev/php7  -DHAVE_CONFIG_H  -g -O2   -c /private/tmp/pear/temp/ev/php7/fe.c -o php7/fe.lo
 cc -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -I/private/tmp/pear/temp/ev/libev -I. -I/private/tmp/pear/temp/ev -DPHP_ATOM_INC -I/private/tmp/pear/temp/pear-build-shaunbramleyysnfZo/ev-1.0.4/include -I/private/tmp/pear/temp/pear-build-shaunbramleyysnfZo/ev-1.0.4/main -I/private/tmp/pear/temp/ev -I/usr/local/Cellar/php/7.3.1/include/php -I/usr/local/Cellar/php/7.3.1/include/php/main -I/usr/local/Cellar/php/7.3.1/include/php/TSRM -I/usr/local/Cellar/php/7.3.1/include/php/Zend -I/usr/local/Cellar/php/7.3.1/include/php/ext -I/usr/local/Cellar/php/7.3.1/include/php/ext/date/lib -I/private/tmp/pear/temp/ev/php7 -DHAVE_CONFIG_H -g -O2 -c /private/tmp/pear/temp/ev/php7/fe.c  -fno-common -DPIC -o php7/.libs/fe.o
/bin/sh /private/tmp/pear/temp/pear-build-shaunbramleyysnfZo/ev-1.0.4/libtool --mode=compile cc -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -I/private/tmp/pear/temp/ev/libev  -I. -I/private/tmp/pear/temp/ev -DPHP_ATOM_INC -I/private/tmp/pear/temp/pear-build-shaunbramleyysnfZo/ev-1.0.4/include -I/private/tmp/pear/temp/pear-build-shaunbramleyysnfZo/ev-1.0.4/main -I/private/tmp/pear/temp/ev -I/usr/local/Cellar/php/7.3.1/include/php -I/usr/local/Cellar/php/7.3.1/include/php/main -I/usr/local/Cellar/php/7.3.1/include/php/TSRM -I/usr/local/Cellar/php/7.3.1/include/php/Zend -I/usr/local/Cellar/php/7.3.1/include/php/ext -I/usr/local/Cellar/php/7.3.1/include/php/ext/date/lib -I/private/tmp/pear/temp/ev/php7  -DHAVE_CONFIG_H  -g -O2   -c /private/tmp/pear/temp/ev/php7/pe.c -o php7/pe.lo
 cc -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -I/private/tmp/pear/temp/ev/libev -I. -I/private/tmp/pear/temp/ev -DPHP_ATOM_INC -I/private/tmp/pear/temp/pear-build-shaunbramleyysnfZo/ev-1.0.4/include -I/private/tmp/pear/temp/pear-build-shaunbramleyysnfZo/ev-1.0.4/main -I/private/tmp/pear/temp/ev -I/usr/local/Cellar/php/7.3.1/include/php -I/usr/local/Cellar/php/7.3.1/include/php/main -I/usr/local/Cellar/php/7.3.1/include/php/TSRM -I/usr/local/Cellar/php/7.3.1/include/php/Zend -I/usr/local/Cellar/php/7.3.1/include/php/ext -I/usr/local/Cellar/php/7.3.1/include/php/ext/date/lib -I/private/tmp/pear/temp/ev/php7 -DHAVE_CONFIG_H -g -O2 -c /private/tmp/pear/temp/ev/php7/pe.c  -fno-common -DPIC -o php7/.libs/pe.o
/bin/sh /private/tmp/pear/temp/pear-build-shaunbramleyysnfZo/ev-1.0.4/libtool --mode=link cc -DPHP_ATOM_INC -I/private/tmp/pear/temp/pear-build-shaunbramleyysnfZo/ev-1.0.4/include -I/private/tmp/pear/temp/pear-build-shaunbramleyysnfZo/ev-1.0.4/main -I/private/tmp/pear/temp/ev -I/usr/local/Cellar/php/7.3.1/include/php -I/usr/local/Cellar/php/7.3.1/include/php/main -I/usr/local/Cellar/php/7.3.1/include/php/TSRM -I/usr/local/Cellar/php/7.3.1/include/php/Zend -I/usr/local/Cellar/php/7.3.1/include/php/ext -I/usr/local/Cellar/php/7.3.1/include/php/ext/date/lib -I/private/tmp/pear/temp/ev/php7  -DHAVE_CONFIG_H  -g -O2   -o ev.la -export-dynamic -avoid-version -prefer-pic -module -rpath /private/tmp/pear/temp/pear-build-shaunbramleyysnfZo/ev-1.0.4/modules  php7/evwrap.lo php7/util.lo php7/ev.lo php7/watcher.lo php7/fe.lo php7/pe.lo
mkdir .libs
cc ${wl}-flat_namespace ${wl}-undefined ${wl}suppress -o .libs/ev.so -bundle  php7/.libs/evwrap.o php7/.libs/util.o php7/.libs/ev.o php7/.libs/watcher.o php7/.libs/fe.o php7/.libs/pe.o
dsymutil .libs/ev.so || :
creating ev.la
(cd .libs && rm -f ev.la && ln -s ../ev.la ev.la)
/bin/sh /private/tmp/pear/temp/pear-build-shaunbramleyysnfZo/ev-1.0.4/libtool --mode=install cp ./ev.la /private/tmp/pear/temp/pear-build-shaunbramleyysnfZo/ev-1.0.4/modules
cp ./.libs/ev.so /private/tmp/pear/temp/pear-build-shaunbramleyysnfZo/ev-1.0.4/modules/ev.so
cp ./.libs/ev.lai /private/tmp/pear/temp/pear-build-shaunbramleyysnfZo/ev-1.0.4/modules/ev.la
----------------------------------------------------------------------
Libraries have been installed in:
   /private/tmp/pear/temp/pear-build-shaunbramleyysnfZo/ev-1.0.4/modules

If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the `-LLIBDIR'
flag during linking and do at least one of the following:
   - add LIBDIR to the `DYLD_LIBRARY_PATH' environment variable
     during execution

See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------

Build complete.
Don't forget to run 'make test'.

running: make INSTALL_ROOT="/private/tmp/pear/temp/pear-build-shaunbramleyysnfZo/install-ev-1.0.4" install
Installing shared extensions:     /private/tmp/pear/temp/pear-build-shaunbramleyysnfZo/install-ev-1.0.4/usr/local/Cellar/php/7.3.1/pecl/20180731/
running: find "/private/tmp/pear/temp/pear-build-shaunbramleyysnfZo/install-ev-1.0.4" | xargs ls -dils
1443367   0 drwxr-xr-x  3 shaunbramley  wheel      96 19 Jan 17:47 /private/tmp/pear/temp/pear-build-shaunbramleyysnfZo/install-ev-1.0.4
1443926   0 drwxr-xr-x  3 shaunbramley  wheel      96 19 Jan 17:47 /private/tmp/pear/temp/pear-build-shaunbramleyysnfZo/install-ev-1.0.4/usr
1443927   0 drwxr-xr-x  3 shaunbramley  wheel      96 19 Jan 17:47 /private/tmp/pear/temp/pear-build-shaunbramleyysnfZo/install-ev-1.0.4/usr/local
1443928   0 drwxr-xr-x  3 shaunbramley  wheel      96 19 Jan 17:47 /private/tmp/pear/temp/pear-build-shaunbramleyysnfZo/install-ev-1.0.4/usr/local/Cellar
1443929   0 drwxr-xr-x  3 shaunbramley  wheel      96 19 Jan 17:47 /private/tmp/pear/temp/pear-build-shaunbramleyysnfZo/install-ev-1.0.4/usr/local/Cellar/php
1443930   0 drwxr-xr-x  3 shaunbramley  wheel      96 19 Jan 17:47 /private/tmp/pear/temp/pear-build-shaunbramleyysnfZo/install-ev-1.0.4/usr/local/Cellar/php/7.3.1
1443931   0 drwxr-xr-x  3 shaunbramley  wheel      96 19 Jan 17:47 /private/tmp/pear/temp/pear-build-shaunbramleyysnfZo/install-ev-1.0.4/usr/local/Cellar/php/7.3.1/pecl
1443932   0 drwxr-xr-x  3 shaunbramley  wheel      96 19 Jan 17:47 /private/tmp/pear/temp/pear-build-shaunbramleyysnfZo/install-ev-1.0.4/usr/local/Cellar/php/7.3.1/pecl/20180731
1443933 272 -rwxr-xr-x  1 shaunbramley  wheel  136760 19 Jan 17:47 /private/tmp/pear/temp/pear-build-shaunbramleyysnfZo/install-ev-1.0.4/usr/local/Cellar/php/7.3.1/pecl/20180731/ev.so

Build process completed successfully
Installing '/usr/local/Cellar/php/7.3.1/pecl/20180731/ev.so'
install ok: channel://pecl.php.net/ev-1.0.4
Extension ev enabled in php.ini
Shauns-MacBook-Air:~ shaunbramley$ php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');"
Shauns-MacBook-Air:~ shaunbramley$ php -r "if (hash_file('sha384', 'composer-setup.php') === '93b54496392c062774670ac18b134c3b3a95e5a5e5c8f1a9f115f203b75bf9a129d5daa8ba6a13e2cc8a1da0806388a8') { echo 'Installer verified'; } else { echo 'Installer corrupt'; unlink('composer-setup.php'); } echo PHP_EOL;"
Installer verified
Shauns-MacBook-Air:~ shaunbramley$ php composer-setup.php --install-dir=/usr/local/bin --filename=composer
All settings correct for using Composer
Downloading...

Composer (version 1.8.0) successfully installed to: /usr/local/bin/composer
Use it: php /usr/local/bin/composer

Shauns-MacBook-Air:~ shaunbramley$ php -r "unlink('composer-setup.php');"
Shauns-MacBook-Air:~ shaunbramley$ sudo nano /usr/local/etc/php/7.3/php.ini
Password:
Shauns-MacBook-Air:~ shaunbramley$ cd PhpstormProjects
Shauns-MacBook-Air:PhpstormProjects shaunbramley$ cd untitled
Shauns-MacBook-Air:untitled shaunbramley$ php index.php
PHP Fatal error:  Uncaught Exception: Please set a default scheduler factory in /Users/shaunbramley/PhpstormProjects/untitled/vendor/reactivex/rxphp/src/Scheduler.php:24
Stack trace:
#0 /Users/shaunbramley/PhpstormProjects/untitled/vendor/reactivex/rxphp/src/Observable.php(309): Rx\Scheduler::getDefault()
#1 /Users/shaunbramley/PhpstormProjects/untitled/index.php(22): Rx\Observable::fromArray(Array)
#2 {main}
  thrown in /Users/shaunbramley/PhpstormProjects/untitled/vendor/reactivex/rxphp/src/Scheduler.php on line 24

Fatal error: Uncaught Exception: Please set a default scheduler factory in /Users/shaunbramley/PhpstormProjects/untitled/vendor/reactivex/rxphp/src/Scheduler.php:24
Stack trace:
#0 /Users/shaunbramley/PhpstormProjects/untitled/vendor/reactivex/rxphp/src/Observable.php(309): Rx\Scheduler::getDefault()
#1 /Users/shaunbramley/PhpstormProjects/untitled/index.php(22): Rx\Observable::fromArray(Array)
#2 {main}
  thrown in /Users/shaunbramley/PhpstormProjects/untitled/vendor/reactivex/rxphp/src/Scheduler.php on line 24
Shauns-MacBook-Air:untitled shaunbramley$ php index.php
10
20
30
40
50
60
Shauns-MacBook-Air:untitled shaunbramley$ php index.php
10
20
30
40
50
60
Shauns-MacBook-Air:untitled shaunbramley$ php index.php
10
20
Segmentation fault: 11
Shauns-MacBook-Air:untitled shaunbramley$ 

What I found was:

  1. I had to modify my original script to include an instantiation of Rx\Scheduler. So my script now looks like:
require_once 'vendor/autoload.php';


$sets = function() : array {
    return [10, 20, 30, 40, 50, 60];
};

use Rx\Observable;
use Rx\Scheduler;
use React\EventLoop\Factory;


$loop = Factory::create();

Scheduler::setDefaultFactory(function() use($loop){
    return new Scheduler\EventLoopScheduler($loop);
});

Observable::fromArray($sets())
    ->subscribe(function($e) {
        echo $e, PHP_EOL;
    });

$loop->run();
  1. When ev extension is being use the script will occasionally cause a Set Fault 11.

Notes:

  1. The edit of php.ini was to disable PCRE JIT.
  2. Not so infrequent Segmentation Faults occur when React\event-loop is making use of ev extension. As segmentation faults do not occur when extension is not enabled.

Conclusions - My testing leads me to believe that the issues are not specific to RxPHP or ReactPHP so much as it is the ev extension. What I am uncertain of at this moment though, is whether or not my issue is related to my build environment or my installation of PHP.

from rxphp.

mbonneau avatar mbonneau commented on June 11, 2024

I am closing this issue because there has been no activity for while. Feel free to open a new issue if you think there is something RxPHP related.

from rxphp.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.