com presentations: Added PHP Serbia Talk: slides/xdebug/modes.xml slides/xdebug/php-7.4-compile-error.xml xdebug-phpserbia19.xml
[email protected] (Derick Rethans) Thu, 23 May 2019 16:19:27 +0000
| Newsgroups | php.pres |
|---|---|
| Message-ID | <[email protected]> |
Commit: 37204f3167095824c3581889bb05d3fc9bc39500 Author: Derick Rethans <[email protected]> Thu, 23 May 2019 17:19:27 +0100 Parents: 288d9619cba09cc133367beb9d47aca143106f93 Branches: master Link: http://git.php.net/?p=presentations.git;a=commitdiff;h=37204f3167095824c3581889bb05d3fc9bc39500 Log: Added PHP Serbia Talk Changed paths: M slides/xdebug/modes.xml M slides/xdebug/php-7.4-compile-error.xml A xdebug-phpserbia19.xml Diff: diff --git a/slides/xdebug/modes.xml b/slides/xdebug/modes.xml index e6b66e6..6c3ec9e 100644 --- a/slides/xdebug/modes.xml +++ b/slides/xdebug/modes.xml @@ -3,6 +3,10 @@ <break lines="5"/> <div effect="fade-in-out"> +<blurb class="big-centre">Off</blurb> +<blurb class="center">Loaded, but miniscule overhead</blurb> +</div> +<div effect="fade-in-out"> <blurb class="big-centre">Debug</blurb> <blurb class="center">Every day debugging aide</blurb> </div> diff --git a/slides/xdebug/php-7.4-compile-error.xml b/slides/xdebug/php-7.4-compile-error.xml index 3182cef..d357621 100644 --- a/slides/xdebug/php-7.4-compile-error.xml +++ b/slides/xdebug/php-7.4-compile-error.xml @@ -17,16 +17,19 @@ + && opcode.opcode != ZEND_OP_DATA]]> </example> -<blurb>Changes to fetching debugging information: ✘</blurb> -<example><![CDATA[…/xdebug_var.c:267:16: error: implicit declaration of function ‘Z_OBJDEBUG_P’; did you mean ‘Z_OBJCE_P’? - *properties = Z_OBJDEBUG_P(parent, *is_temp); - ^~~~~~~~~~~~ - Z_OBJCE_P]]></example> +<blurb>Changes to fetching debugging information: ✔</blurb> +<example><![CDATA[#if PHP_VERSION_ID >= 70400 + *properties = zend_get_properties_for(parent, ZEND_PROP_PURPOSE_DEBUG); +#else + *properties = Z_OBJDEBUG_P(parent, *is_temp); +#endif +]]></example> -<blurb>Changes to how static members are stored internally: ✘</blurb> -<example><![CDATA[…/xdebug_var.c:319:112: error: ‘zend_class_entry’ has no member named ‘static_members_table’; did you mean ‘static_members_table__ptr’? - if (cce && cce->static_members_table) { - ^~~~~~~~~~~~~~~~~~~~ - static_members_table__ptr]]></example> +<blurb>Changes to how static members are stored internally: |777777|✔|</blurb> +<example><![CDATA[ +- if (cce && … && cce->static_members_table) { +- ZVAL_COPY(&tmp_retval, &cce->static_members_table[zpp->offset]); ++ if (cce && … && CE_STATIC_MEMBERS(cce)) { ++ ZVAL_COPY(&tmp_retval, &CE_STATIC_MEMBERS(cce)[zpp->offset]);]]></example> </slide> diff --git a/xdebug-phpserbia19.xml b/xdebug-phpserbia19.xml new file mode 100644 index 0000000..0658b15 --- /dev/null +++ b/xdebug-phpserbia19.xml @@ -0,0 +1,57 @@ +<?xml version="1.0" encoding="utf-8"?> +<presentation css="derick.css"> +<topic>Debugging</topic> +<title>Xdebug 3.0</title> +<event>PHP Serbia 2019</event> +<location>Belgrade, Serbia</location> +<date>May 25th, 2019</date> +<speaker>Derick Rethans</speaker> +<email>[email protected]</email> +<twitter>derickr</twitter> +<url>https://derickrethans.nl/talks.html</url> +<joindin>https://joind.in/26298</joindin> +<slide>slides/xdebug/title.xml</slide> + +<slide>slides/xdebug/focus-on-xdebug.xml</slide> +The Xdebug Experience +17 years + +<slide>slides/xdebug/config-settings-2.xml</slide> +<slide>slides/xdebug/breakpoints-2.xml</slide> +<slide>slides/xdebug/port9000.xml</slide> +<!-- <slide>slides/xdebug/connect1.xml</slide> --> +<!-- <slide>slides/xdebug/connect2.xml</slide> --> +<slide>slides/xdebug/debugger-activation.xml</slide> +<slide>slides/xdebug/debugger-connection-log.xml</slide> +<slide>slides/xdebug/xdebug-slow.xml</slide> +<slide>slides/xdebug/test-with-many-versions.xml</slide> + +<slide>slides/xdebug/focus-on-xdebug2.xml</slide> + +<slide>slides/xdebug/focus-on-xdebug3.xml</slide> +breakpoint behaviour +New versions (7.4) +CI + +<slide>slides/xdebug/xdebug-2.8.xml</slide> +<slide>slides/xdebug/breakpoint-behaviour.xml</slide> +<slide>slides/xdebug/php-7.4-compile-error.xml</slide> +<slide>slides/xdebug/xdebug-ci.xml</slide> + +<slide>slides/xdebug/xdebug-3.xml</slide> +Code reorganisation +Modes +- only do what is needed +Reduce Configuration Options +Code Improvements (algorithms, memory, etc) +<slide>slides/xdebug/code-reorgnisation.xml</slide> +<slide>slides/xdebug/modes.xml</slide> +<slide>slides/xdebug/config-settings-3.xml</slide> +<slide>slides/xdebug/config-settings-3b.xml</slide> +<slide>slides/xdebug/xdebug-slow.xml</slide> + +<slide>slides/xdebug/donate.xml</slide> +<slide>slides/xdebug/phpinternalsnews.xml</slide> +<slide>slides/xdebug/resources.xml</slide> + +</presentation>