3v4l.org

run code in 300+ PHP versions simultaneously
<?php $data = '{"relays_published":"2013-12-21 01:00:00", "relays":[ {"fingerprint":"9A785788015257CEE6DBC184B76CDEA24B19ADAB", "write_history":{ "3_days":{"first":"2013-12-17 12:22:30","last":"2013-12-20 11:37:30","interval":900,"factor":3896.316,"count":286,"values":[408,413,357,429,488,527,525,547,452,434,395,431,435,536,523,446,470,462,480,541,534,469,483,654,507,502,393,471,437,384,324,396,496,604,442,376,333,357,354,387,374,397,199,335,361,355,330,235,229,225,385,417,302,408,208,162,182,215,219,224,259,269,458,352,237,233,242,170,293,321,341,365,351,441,428,326,376,374,273,262,181,273,280,298,268,463,380,317,321,363,533,558,588,450,438,308,398,407,338,434,388,430,392,460,444,420,495,652,551,457,463,470,460,422,463,568,617,555,474,431,443,407,379,387,435,499,464,548,456,341,453,464,598,669,349,363,422,491,634,508,238,359,355,295,325,335,491,454,299,259,435,277,475,444,294,320,290,227,256,172,219,251,340,284,236,250,297,272,822,723,455,494,268,413,297,254,398,368,244,309,269,258,445,370,493,444,309,326,319,376,374,557,418,487,474,512,500,415,483,751,999,671,531,592,618,574,620,481,419,511,547,588,937,847,679,658,793,706,553,528,356,398,320,440,429,532,314,514,509,431,512,487,441,358,278,349,370,354,358,339,414,331,380,306,441,275,345,487,243,120,137,236,184,204,246,250,263,229,327,320,425,639,563,849,472,489,484,416,536,452,308,407,405,361,417,557,378,528,496,663,557,482,265,405,443,383]}, "1_week":{"first":"2013-12-13 12:30:00","last":"2013-12-20 11:30:00","interval":3600,"factor":2976.697,"count":168,"values":[331,382,416,423,574,643,422,553,512,480,514,589,387,568,305,391,449,481,486,516,558,452,520,501,524,472,528,396,621,392,364,408,479,542,732,638,510,601,639,561,528,711,582,487,589,459,429,503,519,443,677,665,698,546,689,779,705,362,371,291,405,389,328,179,234,299,240,290,316,285,330,413,303,262,288,549,638,601,482,641,568,582,572,629,735,587,323,381,561,514,542,428,458,602,473,494,526,644,598,630,608,663,673,529,634,465,444,452,352,437,255,396,348,368,519,442,326,461,502,666,475,538,595,695,594,724,544,584,588,681,625,478,474,474,488,358,321,349,743,482,414,419,529,457,634,625,966,787,641,999,887,524,561,644,512,468,480,447,323,285,350,637,751,560,521,641,644,537]}, "1_month":{"first":"2013-12-04 06:00:00","last":"2013-12-20 10:00:00","interval":14400,"factor":2273.542,"count":98,"values":[0,0,0,1,2,2,1,10,19,15,26,28,12,11,24,114,106,63,102,127,70,95,104,70,63,120,126,259,257,172,194,358,384,274,89,0,0,0,106,279,265,274,268,293,323,415,455,319,433,463,489,567,672,527,381,522,508,718,686,541,633,665,628,584,783,756,755,648,754,888,566,426,348,440,459,773,769,663,669,663,785,810,653,471,549,640,754,801,777,587,621,595,986,999,715,503,752,771]} }, "read_history":{ "3_days":{"first":"2013-12-17 12:22:30","last":"2013-12-20 11:37:30","interval":900,"factor":3778.206,"count":286,"values":[406,409,347,419,482,521,520,536,443,423,385,420,424,528,512,430,457,452,470,527,526,460,474,639,495,488,376,456,427,373,312,380,488,596,431,364,324,350,343,376,369,392,192,327,354,350,323,226,220,218,379,409,296,403,203,155,177,212,214,217,254,266,458,350,235,229,233,167,290,315,338,359,345,436,424,318,372,369,266,250,170,264,271,290,260,457,375,309,310,356,527,546,579,442,430,302,387,393,324,417,374,416,379,455,438,414,493,652,543,442,448,452,441,408,453,563,616,549,462,413,431,394,366,381,423,485,447,528,437,325,436,449,585,657,334,350,412,484,629,499,231,352,348,287,320,327,486,453,296,256,432,268,470,440,286,304,278,220,253,168,214,246,333,279,229,242,289,265,817,718,450,484,260,406,289,242,391,361,235,297,260,246,436,360,488,436,301,313,311,369,369,559,410,478,462,496,487,405,483,744,999,656,510,568,604,556,602,469,409,489,528,563,926,834,662,637,780,694,540,522,350,391,302,426,419,522,308,509,508,426,508,482,436,348,271,339,366,350,355,338,416,333,378,301,418,258,334,485,240,118,135,231,180,199,239,242,260,224,324,316,419,637,563,855,473,487,485,414,532,447,303,401,398,352,407,548,369,521,485,653,546,473,253,392,432,372]}, "1_week":{"first":"2013-12-13 12:30:00","last":"2013-12-20 11:30:00","interval":3600,"factor":2824.674,"count":168,"values":[335,388,422,430,585,659,428,566,523,490,524,597,391,581,311,398,457,490,495,527,563,459,527,508,534,480,539,405,635,399,368,415,479,545,741,651,514,610,647,570,534,720,589,490,593,457,422,494,510,431,673,660,693,548,686,778,712,354,371,292,410,393,328,175,232,300,237,288,313,282,326,414,300,259,289,558,643,612,478,645,577,585,576,638,750,594,324,383,571,519,545,427,461,607,476,492,530,650,597,630,605,664,668,525,634,462,445,453,349,439,254,400,350,371,523,443,319,462,502,668,470,531,602,698,587,732,536,581,578,677,627,478,475,481,489,353,321,347,753,481,411,414,530,456,638,626,973,779,634,999,887,523,560,653,514,472,490,439,327,284,351,647,769,567,521,644,644,534]}, "1_month":{"first":"2013-12-04 06:00:00","last":"2013-12-20 10:00:00","interval":14400,"factor":2151.826,"count":98,"values":[0,0,0,1,2,3,1,10,19,16,26,29,13,11,25,117,108,63,104,128,72,97,106,72,65,123,129,263,264,178,196,367,393,282,91,0,0,0,109,285,269,278,274,300,330,425,465,323,443,468,500,579,688,537,389,533,517,735,700,552,646,675,643,596,793,769,766,646,747,888,568,429,347,438,461,780,780,673,677,669,790,808,654,473,554,641,755,800,775,590,625,594,990,999,722,505,766,773]} }} ], "bridges_published":"2013-12-21 00:37:04", "bridges":[ ]}'; $decodedData = json_decode($data, true); $relays = $decodedData['relays']; $firstRelay = reset($relays); var_dump($firstRelay['write_history']['3_days']);

Here you find the average performance (time & memory) of each version. A grayed out version indicates it didn't complete successfully (based on exit-code).

VersionSystem time (s)User time (s)Memory (MiB)
8.3.60.0200.00018.18
8.3.50.0090.00921.94
8.3.40.0200.00318.70
8.3.30.0200.00019.04
8.3.20.0040.00420.32
8.3.10.0090.00023.40
8.3.00.0030.00619.26
8.2.180.0130.01318.51
8.2.170.0060.01622.96
8.2.160.0090.00620.53
8.2.150.0030.00624.18
8.2.140.0000.00924.66
8.2.130.0190.00026.16
8.2.120.0100.00019.38
8.2.110.0060.00622.25
8.2.100.0060.00620.52
8.2.90.0000.00919.17
8.2.80.0050.00317.97
8.2.70.0070.00317.50
8.2.60.0060.00317.93
8.2.50.0040.00418.07
8.2.40.0000.00819.95
8.2.30.0030.00518.37
8.2.20.0040.00417.59
8.2.10.0090.00018.08
8.2.00.0100.00017.74
8.1.280.0090.00625.92
8.1.270.0090.00023.88
8.1.260.0000.00826.35
8.1.250.0030.00628.09
8.1.240.0000.01023.74
8.1.230.0120.00019.13
8.1.220.0060.00317.79
8.1.210.0080.00018.77
8.1.200.0060.00317.48
8.1.190.0030.00617.36
8.1.180.0050.00318.10
8.1.170.0060.00318.67
8.1.160.0050.00321.98
8.1.150.0050.00518.32
8.1.140.0000.00817.54
8.1.130.0040.00419.51
8.1.120.0000.00717.43
8.1.110.0040.00417.39
8.1.100.0040.00417.36
8.1.90.0040.00417.51
8.1.80.0000.00817.45
8.1.70.0040.00417.41
8.1.60.0030.00617.54
8.1.50.0060.00317.52
8.1.40.0040.00817.55
8.1.30.0060.00317.71
8.1.20.0040.00417.63
8.1.10.0030.00517.55
8.1.00.0060.00317.58
8.0.300.0040.00418.77
8.0.290.0030.00516.61
8.0.280.0050.00318.36
8.0.270.0000.00717.16
8.0.260.0040.00417.25
8.0.250.0040.00416.87
8.0.240.0040.00416.92
8.0.230.0040.00416.98
8.0.220.0040.00416.91
8.0.210.0000.00816.89
8.0.200.0030.00517.02
8.0.190.0070.00016.86
8.0.180.0040.00416.81
8.0.170.0000.00816.96
8.0.160.0030.00516.88
8.0.150.0000.00916.77
8.0.140.0080.00316.74
8.0.130.0030.00313.22
8.0.120.0040.00416.83
8.0.110.0030.00616.77
8.0.100.0050.00316.84
8.0.90.0060.00316.86
8.0.80.0120.00616.85
8.0.70.0060.00316.71
8.0.60.0050.00316.77
8.0.50.0030.00516.79
8.0.30.0140.01317.03
8.0.20.0140.00917.40
8.0.10.0050.00316.88
8.0.00.0140.00916.79
7.4.330.0060.00015.08
7.4.320.0020.00516.52
7.4.300.0070.00016.49
7.4.290.0040.00416.50
7.4.280.0050.00216.48
7.4.270.0080.00016.52
7.4.260.0040.00416.53
7.4.250.0080.00016.36
7.4.240.0040.00416.52
7.4.230.0000.00816.50
7.4.220.0120.00916.59
7.4.210.0090.00916.62
7.4.200.0040.00416.36
7.4.160.0130.00716.60
7.4.150.0140.01117.40
7.4.140.0100.01117.86
7.4.130.0140.00716.62
7.4.120.0090.01616.50
7.4.110.0250.00016.55
7.4.100.0150.00616.45
7.4.90.0190.00316.36
7.4.80.0220.00319.39
7.4.70.0030.02016.43
7.4.60.0140.00616.37
7.4.50.0030.00616.36
7.4.40.0040.01416.27
7.4.30.0180.00416.68
7.4.10.0000.01915.06
7.4.00.0040.01414.99
7.3.330.0060.00013.02
7.3.320.0030.00313.11
7.3.310.0030.00516.32
7.3.300.0080.00016.28
7.3.290.0100.01016.36
7.3.280.0110.01016.32
7.3.270.0160.00617.40
7.3.260.0170.00716.48
7.3.250.0160.00816.55
7.3.240.0180.01116.30
7.3.230.0120.00916.44
7.3.210.0110.01116.45
7.3.200.0190.00019.39
7.3.190.0090.01616.38
7.3.180.0100.01016.25
7.3.170.0160.01016.45
7.3.160.0040.01516.29
7.3.130.0090.00914.59
7.3.120.0090.00914.91
7.3.110.0110.00914.87
7.3.100.0070.01214.74
7.3.90.0060.01014.71
7.3.80.0090.00514.91
7.3.70.0050.01014.77
7.3.60.0070.00514.72
7.3.50.0050.00814.94
7.3.40.0050.00814.73
7.3.30.0130.00514.74
7.3.20.0060.00816.66
7.3.10.0070.00816.66
7.3.00.0050.01116.58
7.2.330.0120.00916.26
7.2.320.0150.01216.62
7.2.310.0070.01116.21
7.2.300.0060.01316.70
7.2.290.0060.01316.46
7.2.260.0170.00015.11
7.2.250.0100.01214.82
7.2.240.0030.01515.05
7.2.230.0110.00914.92
7.2.220.0130.00315.15
7.2.210.0060.01115.15
7.2.200.0060.01215.01
7.2.190.0100.00515.04
7.2.180.0100.00514.93
7.2.170.0090.01014.89
7.2.160.0030.01015.02
7.2.150.0060.01016.53
7.2.140.0090.00616.90
7.2.130.0090.00916.62
7.2.120.0040.00916.81
7.2.110.0060.00916.90
7.2.100.0070.00816.93
7.2.90.0050.01216.97
7.2.80.0100.00416.76
7.2.70.0140.00316.91
7.2.60.0060.00816.86
7.2.50.0070.00716.65
7.2.40.0080.00516.85
7.2.30.0060.00816.72
7.2.20.0070.00916.81
7.2.10.0080.00616.71
7.2.00.0070.00617.39
7.1.330.0060.01015.50
7.1.320.0060.00915.72
7.1.310.0030.01515.88
7.1.300.0120.00515.87
7.1.290.0070.00715.57
7.1.280.0030.01315.72
7.1.270.0080.00415.85
7.1.260.0000.01015.76
7.1.250.0070.00815.80
7.1.240.0080.00515.79
7.1.230.0040.00915.77
7.1.220.0030.01015.89
7.1.210.0050.01015.78
7.1.200.0050.00715.86
7.1.190.0000.01615.79
7.1.180.0040.00915.71
7.1.170.0070.00915.85
7.1.160.0070.00415.65
7.1.150.0130.00115.52
7.1.140.0050.00815.80
7.1.130.0060.00815.85
7.1.120.0070.00915.88
7.1.110.0080.00615.78
7.1.100.0050.01016.60
7.1.90.0060.00615.46
7.1.80.0080.00615.85
7.1.70.0080.00116.10
7.1.60.0100.00617.04
7.1.50.0070.01116.26
7.1.40.0000.01215.80
7.1.30.0070.01015.72
7.1.20.0060.00815.82
7.1.10.0110.00615.65
7.1.00.0050.02817.98
7.0.330.0070.00615.33
7.0.320.0000.01515.25
7.0.310.0050.00515.11
7.0.300.0040.00815.29
7.0.290.0050.00815.07
7.0.280.0090.00515.27
7.0.270.0060.00615.38
7.0.260.0070.00515.26
7.0.250.0050.00715.40
7.0.240.0080.00515.35
7.0.230.0070.00815.25
7.0.220.0060.00415.15
7.0.210.0090.00515.32
7.0.200.0040.00715.60
7.0.190.0060.00715.23
7.0.180.0060.00615.33
7.0.170.0030.01215.28
7.0.160.0010.01115.20
7.0.150.0090.00615.29
7.0.140.0080.03017.57
7.0.130.0040.00815.41
7.0.120.0070.00515.22
7.0.110.0070.00815.07
7.0.100.0130.02016.91
7.0.90.0090.02516.90
7.0.80.0100.02216.90
7.0.70.0110.02916.85
7.0.60.0080.03516.82
7.0.50.0140.02717.07
7.0.40.0040.03315.65
7.0.30.0050.02415.47
7.0.20.0060.02615.45
7.0.10.0080.03315.56
7.0.00.0040.03415.63
5.6.400.0100.00714.13
5.6.390.0060.00614.13
5.6.380.0070.00814.41
5.6.370.0070.01114.14
5.6.360.0080.00714.49
5.6.350.0060.00614.34
5.6.340.0080.00814.34
5.6.330.0080.00814.35
5.6.320.0080.00514.46
5.6.310.0070.00614.37
5.6.300.0070.01014.17
5.6.290.0040.01014.34
5.6.280.0090.02516.70
5.6.270.0050.00914.40
5.6.260.0040.00814.31
5.6.250.0090.02716.38
5.6.240.0100.01516.26
5.6.230.0060.02916.38
5.6.220.0110.02516.35
5.6.210.0030.03116.31
5.6.200.0090.02016.44
5.6.190.0090.02816.51
5.6.180.0090.03016.50
5.6.170.0070.03016.51
5.6.160.0120.02516.50
5.6.150.0070.02616.26
5.6.140.0080.02116.46
5.6.130.0040.03216.63
5.6.120.0080.03216.61
5.6.110.0090.03016.49
5.6.100.0080.03016.51
5.6.90.0110.02116.60
5.6.80.0070.03116.25
5.6.70.0080.03416.18
5.6.60.0050.02316.19
5.6.50.0090.02816.12
5.6.40.0080.01916.26
5.6.30.0090.01716.09
5.6.20.0080.02816.08
5.6.10.0060.03416.08
5.6.00.0060.03916.17
5.5.380.0070.02915.16
5.5.370.0080.03215.15
5.5.360.0090.02715.13
5.5.350.0050.03215.17
5.5.340.0080.02815.26
5.5.330.0060.02615.39
5.5.320.0120.01515.26
5.5.310.0100.03215.33
5.5.300.0040.03315.45
5.5.290.0040.02815.24
5.5.280.0070.03115.27
5.5.270.0040.03315.37
5.5.260.0120.02915.37
5.5.250.0080.03115.22
5.5.240.0070.01715.18
5.5.230.0090.02215.19
5.5.220.0070.03115.20
5.5.210.0080.02515.11
5.5.200.0070.03015.02
5.5.190.0060.03114.88
5.5.180.0030.02415.04
5.5.170.0030.01012.64
5.5.160.0040.02915.02
5.5.150.0080.02115.16
5.5.140.0060.02915.06
5.5.130.0090.02415.10
5.5.120.0050.03415.17
5.5.110.0110.02215.11
5.5.100.0060.03315.13
5.5.90.0050.03114.99
5.5.80.0090.02914.92
5.5.70.0080.01715.05
5.5.60.0080.02414.88
5.5.50.0110.02715.00
5.5.40.0070.01915.00
5.5.30.0080.02815.11
5.5.20.0070.02215.00
5.5.10.0060.03115.04
5.5.00.0040.03114.97
5.4.450.0060.03113.85
5.4.440.0070.02313.52
5.4.430.0030.03013.74
5.4.420.0080.03213.67
5.4.410.0040.03213.68
5.4.400.0040.03313.68
5.4.390.0050.03413.53
5.4.380.0080.01613.65
5.4.370.0030.02813.57
5.4.360.0060.02913.65
5.4.350.0060.02913.77
5.4.340.0080.01613.53
5.4.330.0050.00511.04
5.4.320.0060.01713.69
5.4.310.0050.01813.52
5.4.300.0050.03113.40
5.4.290.0110.02113.68
5.4.280.0070.02613.62
5.4.270.0090.02813.68
5.4.260.0080.01813.56
5.4.250.0050.02413.59
5.4.240.0080.02313.53
5.4.230.0060.02913.53
5.4.220.0060.02113.51
5.4.210.0070.02213.66
5.4.200.0060.02913.57
5.4.190.0040.02713.68
5.4.180.0070.02613.66
5.4.170.0040.03113.55
5.4.160.0020.02113.53
5.4.150.0070.02713.40
5.4.140.0050.02712.67
5.4.130.0060.03312.71
5.4.120.0040.02312.74
5.4.110.0090.02812.86
5.4.100.0130.01312.65
5.4.90.0070.02712.64
5.4.80.0050.03012.77
5.4.70.0060.03112.65
5.4.60.0070.02812.79
5.4.50.0050.02912.71
5.4.40.0090.02712.59
5.4.30.0060.02812.76
5.4.20.0070.02912.69
5.4.10.0070.02212.70
5.4.00.0080.02512.53
5.3.290.0090.01412.11
5.3.280.0050.03111.85
5.3.270.0050.02711.97
5.3.260.0040.02211.91
5.3.250.0130.02311.91
5.3.240.0070.02611.86
5.3.230.0080.02611.99
5.3.220.0030.02011.88
5.3.210.0060.02811.85
5.3.200.0040.02211.86
5.3.190.0050.02811.88
5.3.180.0060.02711.94
5.3.170.0100.02812.00
5.3.160.0050.02712.07
5.3.150.0060.01712.01
5.3.140.0030.02711.97
5.3.130.0020.02311.90
5.3.120.0060.01611.95
5.3.110.0080.02611.90
5.3.100.0060.02711.73
5.3.90.0070.03011.76
5.3.80.0060.02711.69
5.3.70.0060.02211.69
5.3.60.0060.02911.83
5.3.50.0050.02211.74
5.3.40.0080.02011.70
5.3.30.0070.01811.69
5.3.20.0070.01311.50
5.3.10.0090.02611.48
5.3.00.0090.02411.45
5.2.170.0070.02411.42
5.2.160.0030.01811.42
5.2.150.0070.03211.42
5.2.140.0080.02011.42
5.2.130.0020.02011.42
5.2.120.0010.03611.42
5.2.110.0030.02211.42
5.2.100.0080.01511.42
5.2.90.0050.03211.42
5.2.80.0040.02911.42
5.2.70.0040.03611.42
5.2.60.0080.02511.42
5.2.50.0020.03611.42
5.2.40.0050.03111.42
5.2.30.0070.02711.42
5.2.20.0030.02711.42
5.2.10.0020.03311.42
5.2.00.0070.02011.42
5.1.60.0090.01211.42
5.1.50.0060.01511.42
5.1.40.0090.02011.42
5.1.30.0020.03411.42
5.1.20.0020.03011.42
5.1.10.0060.02511.42
5.1.00.0060.01411.42
5.0.50.0010.02611.42
5.0.40.0030.01511.42
5.0.30.0020.03311.42
5.0.20.0060.02011.42
5.0.10.0030.02211.42
5.0.00.0020.03411.42
4.4.90.0030.02011.42
4.4.80.0020.01711.42
4.4.70.0000.01811.42
4.4.60.0000.01411.42
4.4.50.0020.02011.42
4.4.40.0040.02711.42
4.4.30.0030.02211.42
4.4.20.0030.00711.42
4.4.10.0020.01111.42
4.4.00.0020.02711.42
4.3.110.0000.02011.42
4.3.100.0020.01511.42
4.3.90.0020.02011.42
4.3.80.0030.02511.42
4.3.70.0020.01811.42
4.3.60.0020.01911.42
4.3.50.0040.01311.42
4.3.40.0020.02711.42
4.3.30.0020.01811.42
4.3.20.0030.01711.42
4.3.10.0020.01811.42
4.3.00.0000.02011.42

preferences:
44.82 ms | 401 KiB | 5 Q