3v4l.org

run code in 300+ PHP versions simultaneously
<?php $data = array( 'report_id' => (int) $r['report_id'], 'openDate' => self::isoDate($r['open_date']? $r['open_date'] : '2015-09-08 12:06:00'), 'openedBy' => $r['opened_by']? (int) $r['opened_by'] : 42, 'response' => array( 'text' => $r['answer'], 'creationDate' => self::isoDate($r['answer_date']), 'author' => (int) $r['account_id'] ), 'credits' => array( 'member_id' => (int) $r['member_id'], 'campaign_id' => (int) $r['project_id'], 'category' => (empty($r['points_category']))? 5: 5, 'description' => $r['points_reason'], 'date' => self::isoDate($r['answer_date']), 'amount' => $r['points'] ) ); //if(!empty($r['publish'])) { array_merge ($data, array('published'=> $r['publish'])); //} die(var_dump($data));

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.0140.00716.63
8.3.50.0100.01221.14
8.3.40.0040.01118.92
8.3.30.0140.00718.82
8.3.20.0140.00020.04
8.3.10.0020.00523.48
8.3.00.0050.00322.46
8.2.180.0140.00418.55
8.2.170.0090.00922.96
8.2.160.0100.00320.43
8.2.150.0050.00324.18
8.2.140.0050.00324.66
8.2.130.0100.00326.16
8.2.120.0000.00817.50
8.2.110.0100.00722.07
8.2.100.0080.00417.63
8.2.90.0040.00419.22
8.2.80.0060.00317.97
8.2.70.0060.00317.63
8.2.60.0000.00817.93
8.2.50.0030.00618.07
8.2.40.0040.00421.25
8.2.30.0050.00319.91
8.2.20.0040.00417.65
8.2.10.0050.00218.05
8.2.00.0070.00018.07
8.1.280.0090.00625.92
8.1.270.0000.00920.39
8.1.260.0030.00526.35
8.1.250.0070.00028.09
8.1.240.0120.00923.84
8.1.230.0070.00317.42
8.1.220.0030.00617.74
8.1.210.0060.00318.77
8.1.200.0030.00617.48
8.1.190.0000.00817.23
8.1.180.0000.00818.10
8.1.170.0000.00918.52
8.1.160.0050.00221.89
8.1.150.0000.00718.95
8.1.140.0080.00017.39
8.1.130.0040.00417.61
8.1.120.0030.00517.38
8.1.110.0000.00717.36
8.1.100.0070.00017.51
8.1.90.0000.00717.34
8.1.80.0000.00817.34
8.1.70.0040.00417.46
8.1.60.0000.00817.43
8.1.50.0050.00317.53
8.1.40.0030.00617.50
8.1.30.0000.00817.48
8.1.20.0050.00217.59
8.1.10.0030.00517.50
8.1.00.0030.00517.44
8.0.300.0000.00818.77
8.0.290.0040.00416.63
8.0.280.0040.00418.42
8.0.270.0000.00717.21
8.0.260.0070.00017.20
8.0.250.0050.00316.88
8.0.240.0030.00317.02
8.0.230.0050.00516.92
8.0.220.0050.00316.95
8.0.210.0040.00416.89
8.0.200.0030.00316.86
8.0.190.0040.00417.03
8.0.180.0040.00416.98
8.0.170.0000.00717.02
8.0.160.0030.00316.95
8.0.150.0080.00016.84
8.0.140.0050.00316.82
8.0.130.0050.00313.38
8.0.120.0050.00316.77
8.0.110.0000.00716.80
8.0.100.0000.00816.99
8.0.90.0030.00516.71
8.0.80.0090.00616.86
8.0.70.0000.00816.86
8.0.60.0040.00416.73
8.0.50.0070.00016.85
8.0.30.0130.00817.13
8.0.20.0110.00817.40
8.0.10.0040.00417.02
8.0.00.0090.00816.75
7.4.330.0050.00015.13
7.4.320.0020.00516.63
7.4.300.0030.00316.48
7.4.290.0070.00016.52
7.4.280.0040.00416.41
7.4.270.0040.00416.62
7.4.260.0000.00716.37
7.4.250.0040.00416.54
7.4.240.0000.00716.53
7.4.230.0000.00716.71
7.4.220.0090.00916.35
7.4.210.0080.01016.48
7.4.200.0000.00716.30
7.4.160.0060.00916.28
7.4.150.0060.01617.40
7.4.140.0050.01317.86
7.4.130.0150.00516.53
7.4.120.0100.01016.61
7.4.110.0070.01016.46
7.4.100.0080.01116.34
7.4.90.0090.00916.39
7.4.80.0000.01619.39
7.4.70.0080.00816.63
7.4.60.0100.00716.50
7.4.50.0000.00516.51
7.4.40.0080.00816.48
7.4.30.0130.00316.45
7.4.00.0070.00714.88
7.3.330.0080.00013.33
7.3.320.0050.00013.14
7.3.310.0030.00316.43
7.3.300.0060.00016.32
7.3.290.0060.00916.27
7.3.280.0050.01316.26
7.3.270.0060.01217.40
7.3.260.0180.00816.55
7.3.250.0130.00916.44
7.3.240.0130.00316.32
7.3.230.0070.01016.43
7.3.210.0120.00916.41
7.3.200.0080.00819.39
7.3.190.0140.00316.46
7.3.180.0150.00616.34
7.3.170.0100.01016.41
7.3.160.0060.01316.54
7.3.10.0000.01416.74
7.3.00.0090.00616.80
7.2.330.0080.00916.61
7.2.320.0060.01216.57
7.2.310.0080.00816.77
7.2.300.0130.00916.62
7.2.290.0180.00616.45
7.2.130.0110.00416.79
7.2.120.0070.00716.86
7.2.110.0060.01016.71
7.2.100.0100.00716.85
7.2.90.0040.00716.87
7.2.80.0100.00317.05
7.2.70.0070.00716.96
7.2.60.0060.00916.77
7.2.50.0030.00617.08
7.2.40.0030.00617.04
7.2.30.0060.00616.89
7.2.20.0040.01416.77
7.2.10.0000.01016.96
7.2.00.0030.01017.84
7.1.250.0090.00015.87
7.1.200.0120.00315.84
7.1.100.0120.00618.04
7.1.70.0040.00417.02
7.1.60.0110.00720.03
7.1.50.0100.01316.79
7.1.00.0070.07322.27
7.0.200.0080.00416.84
7.0.60.0100.08019.83
7.0.50.0030.08317.80
7.0.40.0130.08320.04
7.0.30.0430.05020.02
7.0.20.0330.07020.20
7.0.10.0070.08320.09
7.0.00.0100.08020.05
5.6.280.0000.03320.93
5.6.210.0100.07320.69
5.6.200.0030.09018.19
5.6.190.0200.03320.68
5.6.180.0330.06720.35
5.6.170.0230.04320.71
5.6.160.0070.05720.54
5.6.150.0070.04318.22
5.6.140.0000.05718.18
5.6.130.0070.07718.18
5.6.120.0070.07320.98
5.6.110.0070.05021.02
5.6.100.0100.06720.96
5.6.90.0070.09020.95
5.6.80.0170.07320.52
5.6.70.4070.04020.42
5.5.350.0100.08020.40
5.5.340.0070.08717.95
5.5.330.0000.07320.40
5.5.320.0270.07720.13
5.5.310.0270.04720.18
5.5.300.0070.08317.98
5.5.290.0100.08017.87
5.5.280.0100.05320.66
5.5.270.0130.07720.95
5.5.260.0100.07720.77
5.5.250.0130.07720.72
5.5.240.0030.03720.25
5.4.450.0600.06019.61
5.4.440.0600.06019.41
5.4.430.0730.06019.41
5.4.420.0670.04719.58
5.4.410.0770.04319.39
5.4.400.0900.04719.16
5.4.390.0730.06319.25
5.4.380.0800.07019.28
5.4.370.0900.04718.80
5.4.360.0930.05719.26
5.4.350.0930.06319.15
5.4.340.1130.06018.92
5.4.320.1230.06019.31
5.4.310.1000.06319.22
5.4.300.0730.05019.25
5.4.290.1030.05719.16
5.4.280.0730.05718.99
5.4.270.0830.06319.30
5.4.260.0830.05718.91
5.4.250.0800.04319.19
5.4.240.0770.05719.25
5.4.230.0830.05719.25
5.4.220.0630.06719.15
5.4.210.0770.05718.94
5.4.200.0630.05716.99
5.4.190.0570.05319.09
5.4.180.0370.05719.08
5.4.170.0500.06318.95
5.4.160.0700.05319.06
5.4.150.0700.05719.15
5.4.140.0830.07716.47
5.4.130.1100.06716.60
5.4.120.0730.06016.28
5.4.110.0700.06016.31
5.4.100.0930.05016.50
5.4.90.0870.04716.43
5.4.80.0830.05316.26
5.4.70.0670.05316.32
5.4.60.0130.03716.41
5.4.50.0200.04716.40
5.4.40.0000.07316.38
5.4.30.0000.07016.43
5.4.20.0030.06016.38

preferences:
34.54 ms | 401 KiB | 5 Q