Enviar pesquisa
Carregar
3分くらいで分かるassert()
•
0 gostou
•
1,331 visualizações
Ippei Ogiwara
Seguir
2007/11/21 PHP懇親会 http://d.hatena.ne.jp/i_ogi/20071122/1195763577
Leia menos
Leia mais
Tecnologia
Denunciar
Compartilhar
Denunciar
Compartilhar
1 de 14
Baixar agora
Baixar para ler offline
Recomendados
Program membalik kata
Program membalik kata
haqiemisme
Perl6 operators and metaoperators
Perl6 operators and metaoperators
Simon Proctor
R code
R code
Manav Goel
Advance Techniques In Php
Advance Techniques In Php
Kumar S
From Javascript To Haskell
From Javascript To Haskell
ujihisa
Blocks+gcd入門
Blocks+gcd入門
領一 和泉田
Table through php
Table through php
syeda zoya mehdi
言語の設計判断
言語の設計判断
nishio
Recomendados
Program membalik kata
Program membalik kata
haqiemisme
Perl6 operators and metaoperators
Perl6 operators and metaoperators
Simon Proctor
R code
R code
Manav Goel
Advance Techniques In Php
Advance Techniques In Php
Kumar S
From Javascript To Haskell
From Javascript To Haskell
ujihisa
Blocks+gcd入門
Blocks+gcd入門
領一 和泉田
Table through php
Table through php
syeda zoya mehdi
言語の設計判断
言語の設計判断
nishio
Appreciation certificate
Appreciation certificate
Jankeshow Pratap Singh
Useful javascript
Useful javascript
Lei Kang
PHP 101
PHP 101
Muhammad Hijazi
Building Real Time Systems on MongoDB Using the Oplog at Stripe
Building Real Time Systems on MongoDB Using the Oplog at Stripe
MongoDB
Chainer-Compiler 動かしてみた
Chainer-Compiler 動かしてみた
Akira Maruoka
Frege is a Haskell for the JVM
Frege is a Haskell for the JVM
jwausle
C code
C code
UET Taxila
大量地区化解决方案V5
大量地区化解决方案V5
bqconf
07 php
07 php
CBRIARCSC
Vcs16
Vcs16
Malikireddy Bramhananda Reddy
Introduction to Go for Java Programmers
Introduction to Go for Java Programmers
Kalpa Pathum Welivitigoda
Super Advanced Python –act1
Super Advanced Python –act1
Ke Wei Louis
Designing Immutability Data Flows in Ember
Designing Immutability Data Flows in Ember
Jorge Lainfiesta
04 2 오버플로 상수 매크로
04 2 오버플로 상수 매크로
Changwon National University
2016 gunma.web games-and-asm.js
2016 gunma.web games-and-asm.js
Noritada Shimizu
Simple PHP programs by kongu Engineering College
Simple PHP programs by kongu Engineering College
pyingkodi maran
20151224-games
20151224-games
Noritada Shimizu
C++ Lambda and concurrency
C++ Lambda and concurrency
명신 김
Clustering com numpy e cython
Clustering com numpy e cython
Anderson Dantas
Pqp1
Pqp1
Francisco Vasconcelos
PHP at Yahoo! JAPAN
PHP at Yahoo! JAPAN
Ippei Ogiwara
Brit 3 11
Brit 3 11
acunato
Mais conteúdo relacionado
Mais procurados
Appreciation certificate
Appreciation certificate
Jankeshow Pratap Singh
Useful javascript
Useful javascript
Lei Kang
PHP 101
PHP 101
Muhammad Hijazi
Building Real Time Systems on MongoDB Using the Oplog at Stripe
Building Real Time Systems on MongoDB Using the Oplog at Stripe
MongoDB
Chainer-Compiler 動かしてみた
Chainer-Compiler 動かしてみた
Akira Maruoka
Frege is a Haskell for the JVM
Frege is a Haskell for the JVM
jwausle
C code
C code
UET Taxila
大量地区化解决方案V5
大量地区化解决方案V5
bqconf
07 php
07 php
CBRIARCSC
Vcs16
Vcs16
Malikireddy Bramhananda Reddy
Introduction to Go for Java Programmers
Introduction to Go for Java Programmers
Kalpa Pathum Welivitigoda
Super Advanced Python –act1
Super Advanced Python –act1
Ke Wei Louis
Designing Immutability Data Flows in Ember
Designing Immutability Data Flows in Ember
Jorge Lainfiesta
04 2 오버플로 상수 매크로
04 2 오버플로 상수 매크로
Changwon National University
2016 gunma.web games-and-asm.js
2016 gunma.web games-and-asm.js
Noritada Shimizu
Simple PHP programs by kongu Engineering College
Simple PHP programs by kongu Engineering College
pyingkodi maran
20151224-games
20151224-games
Noritada Shimizu
C++ Lambda and concurrency
C++ Lambda and concurrency
명신 김
Clustering com numpy e cython
Clustering com numpy e cython
Anderson Dantas
Mais procurados
(19)
Appreciation certificate
Appreciation certificate
Useful javascript
Useful javascript
PHP 101
PHP 101
Building Real Time Systems on MongoDB Using the Oplog at Stripe
Building Real Time Systems on MongoDB Using the Oplog at Stripe
Chainer-Compiler 動かしてみた
Chainer-Compiler 動かしてみた
Frege is a Haskell for the JVM
Frege is a Haskell for the JVM
C code
C code
大量地区化解决方案V5
大量地区化解决方案V5
07 php
07 php
Vcs16
Vcs16
Introduction to Go for Java Programmers
Introduction to Go for Java Programmers
Super Advanced Python –act1
Super Advanced Python –act1
Designing Immutability Data Flows in Ember
Designing Immutability Data Flows in Ember
04 2 오버플로 상수 매크로
04 2 오버플로 상수 매크로
2016 gunma.web games-and-asm.js
2016 gunma.web games-and-asm.js
Simple PHP programs by kongu Engineering College
Simple PHP programs by kongu Engineering College
20151224-games
20151224-games
C++ Lambda and concurrency
C++ Lambda and concurrency
Clustering com numpy e cython
Clustering com numpy e cython
Destaque
Pqp1
Pqp1
Francisco Vasconcelos
PHP at Yahoo! JAPAN
PHP at Yahoo! JAPAN
Ippei Ogiwara
Brit 3 11
Brit 3 11
acunato
Britney 3/11
Britney 3/11
acunato
Brit compra auto nuevo
Brit compra auto nuevo
acunato
Cantik
Cantik
asepmuhsin
Present. Cultura
Present. Cultura
pasajeronavetierra1
Vuelodegansos 0
Vuelodegansos 0
rpanteon
la navidad
la navidad
guestac01f9
2007 Result
2007 Result
gojipcap
L'àpat de Nadal ppt
L'àpat de Nadal ppt
Eva Figueras
Tango - Bailar Morena
Tango - Bailar Morena
guest4af3cc
Test
Test
guestbcb7d7
SaaS E-Commerce Wirtschaftlichkeit
SaaS E-Commerce Wirtschaftlichkeit
Martina Goehring
internationalisatie en lokalisatie in Drupal 5 en 6 - DrupalJam2007 Hilversum
internationalisatie en lokalisatie in Drupal 5 en 6 - DrupalJam2007 Hilversum
Joeri Poesen
Katuak
Katuak
vanesatxu
Teknologia Energia
Teknologia Energia
guestda1c28
Manjedoura
Manjedoura
jardim
Integración de Rails en el Escritorio con Slingshot
Integración de Rails en el Escritorio con Slingshot
guest2e577a
23
23
scapella
Destaque
(20)
Pqp1
Pqp1
PHP at Yahoo! JAPAN
PHP at Yahoo! JAPAN
Brit 3 11
Brit 3 11
Britney 3/11
Britney 3/11
Brit compra auto nuevo
Brit compra auto nuevo
Cantik
Cantik
Present. Cultura
Present. Cultura
Vuelodegansos 0
Vuelodegansos 0
la navidad
la navidad
2007 Result
2007 Result
L'àpat de Nadal ppt
L'àpat de Nadal ppt
Tango - Bailar Morena
Tango - Bailar Morena
Test
Test
SaaS E-Commerce Wirtschaftlichkeit
SaaS E-Commerce Wirtschaftlichkeit
internationalisatie en lokalisatie in Drupal 5 en 6 - DrupalJam2007 Hilversum
internationalisatie en lokalisatie in Drupal 5 en 6 - DrupalJam2007 Hilversum
Katuak
Katuak
Teknologia Energia
Teknologia Energia
Manjedoura
Manjedoura
Integración de Rails en el Escritorio con Slingshot
Integración de Rails en el Escritorio con Slingshot
23
23
Semelhante a 3分くらいで分かるassert()
[PHPCon 2023] “Kto to pisał?!... a, to ja.”, czyli sposoby żeby znienawidzić ...
[PHPCon 2023] “Kto to pisał?!... a, to ja.”, czyli sposoby żeby znienawidzić ...
Mateusz Zalewski
php global $bsize,$playerToken,$myToken,$gameOver,$winArr,$rowAr.pdf
php global $bsize,$playerToken,$myToken,$gameOver,$winArr,$rowAr.pdf
anjalitimecenter11
Ae internals
Ae internals
mnikolenko
Climbing the Abstract Syntax Tree (PHP South Africa 2017)
Climbing the Abstract Syntax Tree (PHP South Africa 2017)
James Titcumb
谈A国古代!%,%o现代l实现
谈A国古代!%,%o现代l实现
sugeladi
Climbing the Abstract Syntax Tree (CodeiD PHP Odessa 2017)
Climbing the Abstract Syntax Tree (CodeiD PHP Odessa 2017)
James Titcumb
Climbing the Abstract Syntax Tree (IPC Fall 2017)
Climbing the Abstract Syntax Tree (IPC Fall 2017)
James Titcumb
Climbing the Abstract Syntax Tree (ScotlandPHP 2018)
Climbing the Abstract Syntax Tree (ScotlandPHP 2018)
James Titcumb
Climbing the Abstract Syntax Tree (DPC 2017)
Climbing the Abstract Syntax Tree (DPC 2017)
James Titcumb
Crazy things done on PHP
Crazy things done on PHP
Taras Kalapun
"Kto to pisał?!... A, to ja.", czyli sposoby, żeby znienawidzić siebie z prze...
"Kto to pisał?!... A, to ja.", czyli sposoby, żeby znienawidzić siebie z prze...
Mateusz Zalewski
Công nghệ sấy đường thùng quay
Công nghệ sấy đường thùng quay
Ông Già
Climbing the Abstract Syntax Tree (PHP UK 2018)
Climbing the Abstract Syntax Tree (PHP UK 2018)
James Titcumb
Climbing the Abstract Syntax Tree (PHP Developer Days Dresden 2018)
Climbing the Abstract Syntax Tree (PHP Developer Days Dresden 2018)
James Titcumb
Climbing the Abstract Syntax Tree (Bulgaria PHP 2016)
Climbing the Abstract Syntax Tree (Bulgaria PHP 2016)
James Titcumb
Climbing the Abstract Syntax Tree (php[world] 2019)
Climbing the Abstract Syntax Tree (php[world] 2019)
James Titcumb
Climbing the Abstract Syntax Tree (Southeast PHP 2018)
Climbing the Abstract Syntax Tree (Southeast PHP 2018)
James Titcumb
Climbing the Abstract Syntax Tree (Midwest PHP 2020)
Climbing the Abstract Syntax Tree (Midwest PHP 2020)
James Titcumb
Climbing the Abstract Syntax Tree (PHP Russia 2019)
Climbing the Abstract Syntax Tree (PHP Russia 2019)
James Titcumb
Climbing the Abstract Syntax Tree (phpDay 2017)
Climbing the Abstract Syntax Tree (phpDay 2017)
James Titcumb
Semelhante a 3分くらいで分かるassert()
(20)
[PHPCon 2023] “Kto to pisał?!... a, to ja.”, czyli sposoby żeby znienawidzić ...
[PHPCon 2023] “Kto to pisał?!... a, to ja.”, czyli sposoby żeby znienawidzić ...
php global $bsize,$playerToken,$myToken,$gameOver,$winArr,$rowAr.pdf
php global $bsize,$playerToken,$myToken,$gameOver,$winArr,$rowAr.pdf
Ae internals
Ae internals
Climbing the Abstract Syntax Tree (PHP South Africa 2017)
Climbing the Abstract Syntax Tree (PHP South Africa 2017)
谈A国古代!%,%o现代l实现
谈A国古代!%,%o现代l实现
Climbing the Abstract Syntax Tree (CodeiD PHP Odessa 2017)
Climbing the Abstract Syntax Tree (CodeiD PHP Odessa 2017)
Climbing the Abstract Syntax Tree (IPC Fall 2017)
Climbing the Abstract Syntax Tree (IPC Fall 2017)
Climbing the Abstract Syntax Tree (ScotlandPHP 2018)
Climbing the Abstract Syntax Tree (ScotlandPHP 2018)
Climbing the Abstract Syntax Tree (DPC 2017)
Climbing the Abstract Syntax Tree (DPC 2017)
Crazy things done on PHP
Crazy things done on PHP
"Kto to pisał?!... A, to ja.", czyli sposoby, żeby znienawidzić siebie z prze...
"Kto to pisał?!... A, to ja.", czyli sposoby, żeby znienawidzić siebie z prze...
Công nghệ sấy đường thùng quay
Công nghệ sấy đường thùng quay
Climbing the Abstract Syntax Tree (PHP UK 2018)
Climbing the Abstract Syntax Tree (PHP UK 2018)
Climbing the Abstract Syntax Tree (PHP Developer Days Dresden 2018)
Climbing the Abstract Syntax Tree (PHP Developer Days Dresden 2018)
Climbing the Abstract Syntax Tree (Bulgaria PHP 2016)
Climbing the Abstract Syntax Tree (Bulgaria PHP 2016)
Climbing the Abstract Syntax Tree (php[world] 2019)
Climbing the Abstract Syntax Tree (php[world] 2019)
Climbing the Abstract Syntax Tree (Southeast PHP 2018)
Climbing the Abstract Syntax Tree (Southeast PHP 2018)
Climbing the Abstract Syntax Tree (Midwest PHP 2020)
Climbing the Abstract Syntax Tree (Midwest PHP 2020)
Climbing the Abstract Syntax Tree (PHP Russia 2019)
Climbing the Abstract Syntax Tree (PHP Russia 2019)
Climbing the Abstract Syntax Tree (phpDay 2017)
Climbing the Abstract Syntax Tree (phpDay 2017)
Último
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
ThousandEyes
Developing An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of Brazil
V3cube
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j
Slack Application Development 101 Slides
Slack Application Development 101 Slides
praypatel2
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
Earley Information Science
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
Enterprise Knowledge
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
Gabriella Davis
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
Enterprise Knowledge
🐬 The future of MySQL is Postgres 🐘
🐬 The future of MySQL is Postgres 🐘
RTylerCroy
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
The Digital Insurer
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Neo4j
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
debabhi2
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
Malak Abu Hammad
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
Safe Software
How to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
naman860154
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
Delhi Call girls
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
Delhi Call girls
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
Puma Security, LLC
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024
Results
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
The Digital Insurer
Último
(20)
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
Developing An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of Brazil
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Slack Application Development 101 Slides
Slack Application Development 101 Slides
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
🐬 The future of MySQL is Postgres 🐘
🐬 The future of MySQL is Postgres 🐘
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
How to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
3分くらいで分かるassert()
1.
Z
Z^ ,88079 KWWSSKSQHWDVVHUW
2.
AA y Z^
= y _ `a ] yGKDWHQDQHMSLBRJL
3.
,88079
^
4.
,88079 Z
Z[ ERRO DVVHUW PL[HG DVVHUWLRQ y2 [DVVHUWLRQ =A Z )$/6( ] = y =_c [ = c ! [ = B Z [ tLQL _ Z DVVHUWBRSWLRQV
5.
,88079 Z
Z[ y _c y 3+38QLW DVVHUW7UXH Z =7UXH ^ Z a [^ ycc ` = DVVHUWDFWLYH 2II ^
6.
,88079 Z
Z[ function hoge($max) { // 0 $max $ret = mt_rand(0, $max): * // 0 $max assert(0 = $ret $ret = $max); * return $ret; }
7.
,88079 Z
Z[ function hoge($max) { // 0 $max $ret = mt_rand(0, $max); * // 0 $max assert('0 = $ret $ret = $max'); * return $ret; }
8.
29*7,3/ LQW PLQ
LQW PD[@ y ] PWBUDQG Z= PLQ ! PD[[ ^ y Z [ hoge(-10); Warning: assert(): Assertion quot;0 = $ret $ret = $maxquot; failed in test.php on line 7
9.
,88079
y HYDO y []] t Z ^ y ^= ZHYDO
10.
,88079
1) PHP_FUNCTION(assert) { zval **assertion; int val; char *myeval = NULL; char *compiled_string_description; if (! ASSERTG(active)) { RETURN_TRUE; c Z_ } #709:73 if (ZEND_NUM_ARGS() != 1 || zend_get_parameters_ex(1, assertion) == F WRONG_PARAM_COUNT; }
11.
]
= ^ Q ! + y W []] = B `a ^Z ^ y1) ^Z = 3+3 ][ Z
12.
y
! `aZ ^ y HYDO Y y c][ ! [
13.
6Z ^ Z
S
14.
Z
] [
Baixar agora