3v4l.org

run code in 300+ PHP versions simultaneously
<?php $response = array(); $response['block_names'] = array("getdata"); $response['type'] = "show_block"; $response['title'] = "go"; $response['set_attributes'] = new \stdClass(); $response['set_attributes']->apikey = '12332141234123412341234'; var_dump(json_encode($response));

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.0060.00916.63
8.3.50.0140.00718.17
8.3.40.0120.00318.84
8.3.30.0120.00318.76
8.3.20.0070.00020.30
8.3.10.0080.00021.91
8.3.00.0000.00819.68
8.2.180.0140.00425.92
8.2.170.0070.01118.96
8.2.160.0110.00722.96
8.2.150.0080.00024.18
8.2.140.0040.00424.66
8.2.130.0040.00422.02
8.2.120.0040.00426.35
8.2.110.0070.00322.19
8.2.100.0080.00817.47
8.2.90.0030.00619.08
8.2.80.0040.00417.97
8.2.70.0060.00317.63
8.2.60.0060.00317.50
8.2.50.0030.00617.93
8.2.40.0040.00417.80
8.2.30.0030.00520.91
8.2.20.0070.00017.98
8.2.10.0070.00018.12
8.2.00.0040.00418.12
8.1.280.0150.00625.92
8.1.270.0080.00022.14
8.1.260.0040.00426.35
8.1.250.0070.00028.09
8.1.240.0090.00019.28
8.1.230.0070.00417.83
8.1.220.0000.00817.76
8.1.210.0060.00318.77
8.1.200.0030.00617.00
8.1.190.0050.00317.35
8.1.180.0040.00418.10
8.1.170.0040.00417.62
8.1.160.0000.00818.70
8.1.150.0000.00721.82
8.1.140.0060.00319.50
8.1.130.0000.00718.93
8.1.120.0050.00317.38
8.1.110.0060.00317.39
8.1.100.0000.00717.41
8.1.90.0000.00717.34
8.1.80.0050.00217.41
8.1.70.0000.00817.29
8.1.60.0040.00417.43
8.1.50.0060.00317.45
8.1.40.0040.00417.45
8.1.30.0050.00317.57
8.1.20.0030.00617.48
8.1.10.0080.00017.41
8.1.00.0040.00417.46
8.0.300.0000.00718.77
8.0.290.0070.00016.63
8.0.280.0030.00318.33
8.0.270.0060.00317.27
8.0.260.0000.00819.08
8.0.250.0000.00716.90
8.0.240.0070.00016.78
8.0.230.0040.00416.92
8.0.220.0020.00516.73
8.0.210.0040.00416.83
8.0.200.0030.00316.82
8.0.190.0000.00916.83
8.0.180.0040.00416.90
8.0.170.0030.00316.88
8.0.160.0000.00716.76
8.0.150.0040.00416.76
8.0.140.0080.00016.84
8.0.130.0000.00713.24
8.0.120.0000.00916.72
8.0.110.0000.00716.78
8.0.100.0040.00416.87
8.0.90.0030.00616.91
8.0.80.0110.00716.78
8.0.70.0040.00416.61
8.0.60.0040.00416.89
8.0.50.0040.00416.76
8.0.30.0110.00816.95
8.0.20.0110.00717.40
8.0.10.0000.00716.91
8.0.00.0170.00016.43
7.4.330.0000.00515.55
7.4.320.0000.00616.39
7.4.300.0030.00316.45
7.4.290.0030.00616.48
7.4.280.0050.00216.48
7.4.270.0000.00716.47
7.4.260.0050.00316.57
7.4.250.0000.00716.43
7.4.240.0030.00316.46
7.4.230.0030.00316.33
7.4.220.0040.02316.56
7.4.210.0060.01316.57
7.4.200.0070.00016.41
7.4.160.0080.01016.54
7.4.150.0070.01017.40
7.4.140.0110.00817.86
7.4.130.0070.01316.51
7.4.120.0130.00816.42
7.4.110.0120.00916.56
7.4.100.0140.00616.42
7.4.90.0100.00716.40
7.4.80.0100.00917.17
7.4.70.0090.00916.47
7.4.60.0110.00616.40
7.4.50.0100.00716.24
7.4.40.0090.00816.26
7.4.30.0100.00816.33
7.4.20.0060.01116.37
7.4.10.0080.00916.32
7.4.00.0080.00916.12
7.3.330.0030.00313.10
7.3.320.0000.00613.05
7.3.310.0040.00416.23
7.3.300.0030.00316.25
7.3.290.0080.00816.29
7.3.280.0110.00816.27
7.3.270.0120.01217.40
7.3.260.0110.01116.27
7.3.250.0070.01016.27
7.3.240.0090.00916.32
7.3.230.0100.00716.35
7.3.220.0070.01016.52
7.3.210.0090.01116.17
7.3.200.0100.00816.29
7.3.190.0090.01016.31
7.3.180.0120.00716.27
7.3.170.0070.01216.28
7.3.160.0130.00516.29
7.3.150.0100.00716.18
7.3.140.0080.00816.29
7.3.130.0090.00916.49
7.3.120.0100.00816.24
7.3.110.0070.00916.36
7.3.100.0100.00716.07
7.3.90.0070.01016.11
7.3.80.0090.00816.02
7.3.70.0120.00515.97
7.3.60.0100.00815.93
7.3.50.0090.00715.98
7.3.40.0120.00516.04
7.3.30.0080.00915.94
7.3.20.0120.00916.03
7.3.10.0120.00716.37
7.3.00.0090.00916.37
7.2.340.0060.01116.36
7.2.330.0060.01116.43
7.2.320.0090.01016.47
7.2.310.0110.00616.48
7.2.300.0070.01116.53
7.2.290.0080.00916.40
7.2.280.0100.00816.46
7.2.270.0110.00816.52
7.2.260.0070.01016.58
7.2.250.0090.00916.42
7.2.240.0090.00816.43
7.2.230.0070.01016.26
7.2.220.0110.00616.19
7.2.210.0080.01016.17
7.2.200.0080.01316.24
7.2.190.0090.00816.16
7.2.180.0090.00816.13
7.2.170.0100.00916.15
7.2.160.0070.01116.16
7.2.150.0090.01016.23
7.2.140.0110.00916.59
7.2.130.0080.01116.54
7.2.120.0130.01016.51
7.2.110.0100.00916.55
7.2.100.0080.01016.61
7.2.90.0090.01116.49
7.2.80.0150.00716.57
7.2.70.0120.00916.59
7.2.60.0110.00916.50
7.2.50.0120.00916.45
7.2.40.0150.00916.61
7.2.30.0140.01016.55
7.2.20.0090.01016.50
7.2.10.0120.00916.59
7.2.00.0140.00816.67
7.1.330.0240.00615.84
7.1.320.0160.01015.57
7.1.310.0160.00915.52
7.1.300.0140.01015.58
7.1.290.0170.00915.21
7.1.280.0200.00715.22
7.1.270.0170.01115.16
7.1.260.0190.00715.48
7.1.250.0190.00815.48
7.1.240.0220.00615.51
7.1.230.0180.00815.48
7.1.220.0200.00715.43
7.1.210.0160.01015.42
7.1.200.0180.00815.44
7.1.190.0170.00915.57
7.1.180.0170.01315.45
7.1.170.0180.00915.45
7.1.160.0200.00715.50
7.1.150.0200.00515.54
7.1.140.0190.00715.55
7.1.130.0200.00715.47
7.1.120.0190.00915.42
7.1.110.0280.00815.49
7.1.100.0160.01115.56
7.1.90.0170.00915.47
7.1.80.0160.01015.47
7.1.70.0120.01015.76
7.1.60.0190.00915.75
7.1.50.0230.00415.50
7.1.40.0160.01018.15
7.1.30.0210.00618.26
7.1.20.0170.01118.13
7.1.10.0170.00915.62
7.1.00.0150.01215.53
7.0.330.0170.00815.19
7.0.320.0180.00815.17
7.0.310.0190.00715.25
7.0.300.0200.00615.24
7.0.290.0190.00815.29
7.0.280.0150.01215.24
7.0.270.0280.00715.26
7.0.260.0160.00915.15
7.0.250.0150.01115.15
7.0.240.0170.00815.26
7.0.230.0150.00915.19
7.0.220.0220.00815.17
7.0.210.0190.00615.29
7.0.200.0140.00715.46
7.0.190.0180.00715.25
7.0.180.0150.00915.38
7.0.170.0150.00815.40
7.0.160.0160.01015.34
7.0.150.0150.00915.34
7.0.140.0170.00815.38
7.0.130.0130.01115.34
7.0.120.0170.00615.42
7.0.110.0170.00715.41
7.0.100.0160.00815.34
7.0.90.0160.00815.33
7.0.80.0130.00715.38
7.0.70.0130.00815.34
7.0.60.0140.00815.32
7.0.50.0120.00815.37
7.0.40.0140.00715.30
7.0.30.0130.00815.37
7.0.20.0140.00815.34
7.0.10.0160.00815.36
7.0.00.0140.00915.28
5.6.400.0150.01215.69
5.6.390.0150.01115.70
5.6.380.0170.00915.72
5.6.370.0180.01116.12
5.6.360.0150.01415.97
5.6.350.0170.01116.16
5.6.340.0200.00915.96
5.6.330.0170.01216.04
5.6.320.0150.01616.08
5.6.310.0200.00816.00
5.6.300.0190.01116.03
5.6.290.0170.01316.06
5.6.280.0200.01215.92
5.6.270.0190.01116.04
5.6.260.0180.01115.98
5.6.250.0210.00916.02
5.6.240.0160.01216.01
5.6.230.0130.01215.90
5.6.220.0150.01116.07
5.6.210.0160.01216.04
5.6.200.0200.00715.99
5.6.190.0170.01016.04
5.6.180.0130.01516.07
5.6.170.0200.01016.03
5.6.160.0200.01016.02
5.6.150.0180.01115.95
5.6.140.0180.01115.91
5.6.130.0170.01315.92
5.6.120.0180.01016.02
5.6.110.0160.01215.98
5.6.100.0210.00815.92
5.6.90.0170.01215.95
5.6.80.0180.00915.85
5.6.70.0160.00915.92
5.6.60.0170.01015.85
5.6.50.0170.00915.84
5.6.40.0180.00815.84
5.6.30.0160.01015.94
5.6.20.0180.00815.94
5.6.10.0170.00915.91
5.6.00.0190.00915.94

preferences:
34.33 ms | 401 KiB | 5 Q