High-performance Fibonacci numbers generator in PHP

Based on the article High-performance Fibonacci numbers generator in Go I wrote my version using PHP. Despite the differences between PHP and Go architectures reflected in response times, we can face a huge performance difference when using an optimized function. We may notice that we can have the same results, but the quality of the […]

Codility – PermMissingElem

I scored 100% in #php on @Codility! https://codility.com/demo/take-sample-test/perm_missing_elem/ Training ticket Session ID: trainingWEF9F8-YEU Time limit: 120 min. Status: closed Created on: 2016-01-17 03:25 UTC Started on: 2016-01-17 03:25 UTC Finished on: 2016-01-17 03:40 UTC Training ticket (real finishing time) Session ID: trainingCSVQV7-4KF Time limit: 120 min. Status: closed Created on: 2016-01-17 04:29 UTC Started on: […]

Codility – OddOccurrencesInArray

I scored 66% in #php on @Codility! https://codility.com/demo/take-sample-test/odd_occurrences_in_array/ I don’t know how to do better yet. Training ticket Session ID: training8BGA3Q-8PA Time limit: 120 min. Status: closed Created on: 2016-01-17 03:06 UTC Started on: 2016-01-17 03:06 UTC Finished on: 2016-01-17 03:07 UTC

Segurança no PHP II

Requisito 4: Sem erros para o usuário Falaremos aqui de outro ponto importantíssimo na questão de segurança que é freqüentemente ignorado pelos desenvolvedores: as mensagens de erro. As mensagens de erro foram feitas para que o desenvolvedor possa trabalhar de forma mais prática e descobrir o que ele está fazendo de errado. Observem, entretando, que, […]