Skip to content

Instantly share code, notes, and snippets.

View jscaltreto's full-sized avatar

Jake Scaltreto jscaltreto

  • Massachusetts, USA
View GitHub Profile

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 January 28, 2019 23:46
Demo of finfo performance in php 7.2 vs 7.3
#!/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 \