Blog
-
: Stop Bash Scripts On Error
TL;DR: Don’t forget to stop the execution of your bash scripts when an error occurs, e.g. by adding “set -e -o pipefail“. -
: Lost In Iteration
TL;DR: When using iterator_to_array() with default parameters, some extracted elements are lost if they share the same key. -
: You Can Always Refcount On Me: Avoiding Circular References When Storing Closures in Attributes
TL;DR: When creating a closure in an object context and storing it in an attribute, then you create a circular reference.