Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Division by zero in apc.php #4

Closed
cjbj opened this issue Mar 13, 2013 · 0 comments
Closed

Division by zero in apc.php #4

cjbj opened this issue Mar 13, 2013 · 0 comments

Comments

@cjbj
Copy link

cjbj commented Mar 13, 2013

Testcase:

  • Insert one value into the cache with apc_store.
  • Load apc.php
  • Clear the cache
    The resulting page contains these warnings:

Warning: Division by zero in /home/cj/public_html/apcu-simplify/apc.php on line 756
Warning: Division by zero in /home/cj/public_html/apcu-simplify/apc.php on line 757
Warning: Division by zero in /home/cj/public_html/apcu-simplify/apc.php on line 758
Warning: Division by zero in /home/cj/public_html/apcu-simplify/apc.php on line 759

krakjoe added a commit that referenced this issue Mar 13, 2013
@krakjoe krakjoe closed this as completed Mar 13, 2013
CrystSw added a commit to CrystSw/apcu that referenced this issue Jan 14, 2024
# This is the 1st commit message:

implement history list

# This is the commit message krakjoe#2:

add assert

# This is the commit message krakjoe#3:

rename variable

# This is the commit message krakjoe#4:

implementation of eviction logic

# This is the commit message krakjoe#5:

add comment

# This is the commit message krakjoe#6:

change define

# This is the commit message krakjoe#7:

added info

# This is the commit message krakjoe#8:

remove apc_cache_wlocked_add_history_oldest

# This is the commit message krakjoe#9:

rename function

# This is the commit message krakjoe#10:

update info

# This is the commit message krakjoe#11:

update comment

# This is the commit message krakjoe#12:

fixed loop (cause an infinite loop)

# This is the commit message krakjoe#13:

add memo

# This is the commit message krakjoe#14:

change cleaning timing

# This is the commit message krakjoe#15:

use macros

# This is the commit message krakjoe#16:

fixed size

# This is the commit message krakjoe#17:

update the history in the update process

# This is the commit message krakjoe#18:

refactor
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants