Skip to content

php-internals-debugger #1

Open
Open
@marcosptf

Description

@marcosptf

#srcphp-srcphp-srcphp-srcphp-srcphp-srcphp-srcphp-srcphp-srcphp-srcphp-src#

+tasks:
1)PHP at the Core: A Hacker's Guide
https://www.youtube.com/watch?v=5smkrsG-vQY => Episode 26 - PHP Internals, pthreads and PHPDBG

https://www.youtube.com/watch?v=yUiOKBJA9jM => Episode 40 - News on PHP 7, and how PHP internally works

https://www.youtube.com/watch?v=5FoHyfu8meM => PHP Extension Development for Beginners with Joe Watkins

https://www.youtube.com/watch?v=AloIn2t7bWc => Developing a Resizable-Indexed Array as a PHP Extension

https://www.youtube.com/watch?v=vLD4cUHMT5I => Episode 73 - PHP 7 Extension Development with Joe Watkins

https://www.youtube.com/watch?v=_arORgEVl-M => Hacking on PHP 7 with Joe Watkins - Part 1
https://www.youtube.com/watch?v=f9N-v-JUbTQ => Hacking on PHP 7 with Joe Watkins - Part 2
http://blog.krakjoe.ninja/
https://en.wikipedia.org/wiki/C_POSIX_library
http://threedevsandamaybe.com/
http://www.nasm.us/
http://pt.cppreference.com/w/c
http://www.assemblyprogressivo.net
https://en.wikipedia.org/wiki/Bitwise_operation
https://en.wikipedia.org/wiki/Binary_number
https://en.wikipedia.org/wiki/Bit
http://php.net/manual/en/language.operators.bitwise.php
https://www.amazon.com/dp/067232704X/?tag=stackoverfl08-20
https://www.amazon.com/Building-Custom-Extensions-Blake-Schwendiman/dp/1411601882/ref=pd_bxgy_14_img_2/164-3020391-7023345?ie=UTF8&psc=1&refRID=59RKNKK622PMHHZ4GEWH
http://talks.php.net/index.php/Internals
http://www.firephp.org
https://xdebug.org
http://www.php-debugger.com/dbg/
http://phpdebugbar.com/
https://wiki.php.net/internals/references
https://www.scribd.com/document/18171982/PHP-Compiler-Internals
http://nikic.github.io
http://docstore.mik.ua/orelly/weblinux2/php/ch14_01.htm
http://devzone.zend.com/303/extension-writing-part-i-introduction-to-php-and-zend/
http://swig.org/
http://www.sitepoint.com/getting-started-php-extension-development-via-php-cpp/
https://blog.engineyard.com/2014/writing-php-extensions-with-zephir
http://www.hackingwithphp.com/20/0/0/writing-extensions
http://talks.php.net/show/extending-php-ffm2003/5
http://truelogic.org/wordpress/2015/09/05/writing-php-extensions-part-1-overview/
http://www.gnu.org/software/m4/manual/m4.html
https://secure.php.net/manual/en/internals2.php
http://www.phpinternalsbook.com/
https://wiki.php.net/internals/references
http://blog.ircmaxell.com/2012/03/phps-source-code-for-php-developers.html
http://nikic.github.io/2012/03/16/Understanding-PHPs-internal-function-definitions.html
https://github.com/php/php-src/blob/master/CODING_STANDARDS
http://imasters.com.br/desenvolvimento/como-criar-uma-extensao-php-c-para-manipular-arrays-parte-01-extensao-basica-de-uma-classe-array/?utm_source=iMasters&utm_campaign=3dcfd2c19a-ds_2015_08_18&utm_medium=email&utm_term=0_c1528e6ab3-3dcfd2c19a-359905737
marcosptf/fedora#39
https://www.slideshare.net/pierrej/extending-php-7-the-basics
https://www.slideshare.net/NicoLoubser1/php-internals
https://nikic.github.io/2015/05/05/Internal-value-representation-in-PHP-7-part-1.html
http://jpauli.github.io/2016/01/14/php-7-objects.html
https://pt.slideshare.net/nikita_ppv/php-7-what-changed-internally-php-barcelona-2015
http://blog.golemon.com/2007/01/youre-being-lied-to.html

+como criar uma nova funcao no php-src
https://github.com/php/php-src/pull/347/files

2)reading c code from https://github.com/php/php-src/tree/master/Zend
3)install last version of fedora, and compile last version of php and run test and report bugs
4)write new tests to php-src
5)try resolve bugs on http://bugs.php.net

#how to write a new function to php from c code
https://github.com/php/php-src/pull/2206/files

xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
http://php.net/manual/en/ziparchive.unchangename.php
http://php.net/manual/en/ziparchive.unchangeindex.php
http://php.net/manual/en/ziparchive.unchangeall.php
http://php.net/manual/en/ziparchive.unchangearchive.php
http://php.net/manual/en/sqlite3.busytimeout.php
http://php.net/manual/en/pdo.getavailabledrivers.php
http://php.net/manual/en/reflectionparameter.isarray.php
http://php.net/manual/en/datetimezone.getlocation.php
http://php.net/manual/en/errorexception.getseverity.php
http://php.net/manual/en/function.curl-multi-info-read.php
http://php.net/manual/en/function.stream-bucket-prepend.php
http://php.net/manual/en/function.stream-get-transports.php
http://php.net/manual/en/function.stream-get-wrappers.php
http://php.net/manual/en/function.set-file-buffer.php
http://php.net/manual/en/function.stream-socket-enable-crypto.php
http://php.net/manual/en/function.stream-socket-sendto.php
http://php.net/manual/en/function.stream-socket-recvfrom.php
http://php.net/manual/en/function.stream-socket-get-name.php
http://php.net/manual/en/function.dns-get-record.php
http://php.net/manual/en/function.dns-get-mx.php
http://php.net/manual/en/function.checkdnsrr.php
http://php.net/manual/en/function.gethostname.php
http://php.net/manual/en/function.ignore-user-abort.php
http://php.net/manual/en/function.connection-status.php
http://php.net/manual/en/function.connection-aborted.php
http://php.net/manual/en/function.setrawcookie.php
http://php.net/manual/en/function.memory-get-peak-usage.php
http://php.net/manual/en/function.forward-static-call-array.php
http://php.net/manual/en/function.php-ini-scanned-files.php

xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
+!!!php tests failure!!!

2)http://php.net/manual/en/function.openssl-dh-compute-key.php
2.1 - i don't have idia what to do with 2 param ( resource $dh_key )
2.2 - i coudn't found this resource anywhere => resource $dh_key

+pr pendents:
php/php-src#1803 #fixed-waint-answer
php/php-src#1770 #fixing
http://php.net/manual/en/errorexception.getseverity.php
http://php.net/manual/en/function.set-error-handler.php
http://php.net/manual/en/function.debug-backtrace.php

php/php-src#1810
php/php-src#1806

+pr closed but pendents:
php/php-src#1815
php/php-src#1813
php/php-src#1812
php/php-src#1811
php/php-src#1787
php/php-src#1641

xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
resolve open bugs from
https://bugs.php.net/search.php?limit=30&order_by=id&direction=DESC&cmd=display&status=Open&bug_type=All

xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
+new tests case to php functions - gcov - functions without .phpt
http://gcov.php.net/viewer.php?version=PHP_HEAD&func=tested_functions
http://php.net/manual/en/function.date-interval-format.php
http://php.net/manual/en/function.zlib-get-coding-type.php

xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
+anothers modules with 0.0% gcov tests
http://gcov.php.net/PHP_HEAD/lcov_html/usr/include/curl/typecheck-gcc.h.gcov.php
http://gcov.php.net/PHP_HEAD/lcov_html/TSRM/tsrm_strtok_r.c.gcov.php
http://gcov.php.net/PHP_HEAD/lcov_html/sapi/cli/index.php

xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

#php-srcphp-srcphp-srcphp-srcphp-srcphp-src

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions