Skip to content

Instantly share code, notes, and snippets.

Avatar

Jake Scaltreto jscaltreto

  • Massachusetts, USA
View GitHub Profile
View keybase.md

Keybase proof

I hereby claim:

  • I am jscaltreto on github.
  • I am jscaltreto (https://keybase.io/jscaltreto) on keybase.
  • I have a public key ASB7s_SpR2EdqXHxGxv_wCYM-actlUDZ0MdPvc30iLrZcAo

To claim this, I am signing this object:

@jscaltreto
jscaltreto / finfotest.sh
Created Jan 28, 2019
Demo of finfo performance in php 7.2 vs 7.3
View finfotest.sh
#!/bin/bash
set -e
ITERS=${1:-1000}
echo "Testing finfo over $ITERS iterations"
for VER in '7.2' '7.3'; do
echo ---
echo "Testing PHP $VER"
docker run -i \