3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo json_encode( [ 'fulfillmentMessages' => [ [ 'text' => [ 'text' => [ 'Text response from webhook', ] ] ] ] ], JSON_PRETTY_PRINT );

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.70.0090.01218.30
8.3.60.0120.00316.63
8.3.50.0040.01116.64
8.3.40.0100.00718.69
8.3.30.0110.00418.63
8.3.20.0040.00424.18
8.3.10.0000.00724.66
8.3.00.0000.00726.16
8.2.190.0110.00716.58
8.2.180.0170.00325.92
8.2.170.0070.00718.82
8.2.160.0170.00322.96
8.2.150.0070.00025.66
8.2.140.0040.00424.66
8.2.130.0000.00726.16
8.2.120.0040.00421.00
8.2.110.0060.00320.39
8.2.100.0000.01117.72
8.2.90.0040.00420.45
8.2.80.0030.00617.97
8.2.70.0030.00517.91
8.2.60.0090.00017.91
8.2.50.0080.00018.10
8.2.40.0040.00421.09
8.2.30.0020.00519.16
8.2.20.0030.00517.91
8.2.10.0100.00418.24
8.2.00.0060.00718.31
8.1.280.0100.01025.92
8.1.270.0040.00422.14
8.1.260.0040.00426.35
8.1.250.0050.00228.09
8.1.240.0090.00923.73
8.1.230.0090.00320.96
8.1.220.0040.00417.74
8.1.210.0040.00818.80
8.1.200.0000.00817.23
8.1.190.0000.00817.10
8.1.180.0090.00018.10
8.1.170.0050.00318.54
8.1.160.0000.00820.44
8.1.150.0030.00618.82
8.1.140.0090.00317.93
8.1.130.0090.00318.68
8.1.120.0110.00317.31
8.1.110.0050.00817.38
8.1.100.0120.00017.32
8.1.90.0080.00417.36
8.1.80.0070.00517.29
8.1.70.0100.00417.31
8.1.60.0090.00317.46
8.1.50.0130.00617.34
8.1.40.0090.00517.38
8.1.30.0080.00517.45
8.1.20.0110.00417.38
8.1.10.0130.00417.41
8.1.00.0130.00617.30
8.0.300.0000.00719.90
8.0.290.0000.01116.63
8.0.280.0030.00318.48
8.0.270.0160.00016.74
8.0.260.0070.00417.53
8.0.250.0060.00616.84
8.0.240.0090.00316.86
8.0.230.0070.00416.74
8.0.220.0040.00716.71
8.0.210.0090.00216.65
8.0.200.0020.00816.71
8.0.190.0050.00416.74
8.0.180.0070.00816.69
8.0.170.0100.00416.72
8.0.160.0080.00516.73
8.0.150.0060.00716.65
8.0.140.0100.00516.58
8.0.130.0080.00715.51
8.0.120.0100.00416.60
8.0.110.0100.00216.61
8.0.100.0120.00116.61
8.0.90.0090.00416.70
8.0.80.0100.00716.62
8.0.70.0090.00416.64
8.0.60.0050.00716.58
8.0.50.0080.00516.62
8.0.30.0090.00916.56
8.0.20.0060.01116.70
8.0.10.0090.00816.77
8.0.00.0120.00716.84
7.4.330.0070.00315.92
7.4.320.0110.00216.40
7.4.300.0060.00516.31
7.4.290.0090.00116.36
7.4.280.0130.00216.38
7.4.270.0130.00316.33
7.4.260.0110.00515.31
7.4.250.0120.00416.39
7.4.240.0110.00316.32
7.4.230.0120.00616.36
7.4.220.0080.00516.25
7.4.210.0090.00616.38
7.4.200.0130.00416.33
7.4.190.0200.00116.34
7.4.180.0170.00116.35
7.4.160.0120.00516.40
7.4.150.0070.01216.31
7.4.140.0130.00416.26
7.4.130.0080.00616.30
7.4.120.0110.00616.31
7.4.110.0170.00416.26
7.4.100.0150.00416.34
7.4.90.0100.00816.21
7.4.80.0080.00716.25
7.4.70.0070.00816.28
7.4.60.0090.00816.32
7.4.50.0110.00416.26
7.4.40.0110.00416.28
7.4.30.0100.00716.31
7.4.20.0130.00116.26
7.4.10.0090.00716.29
7.4.00.0090.00616.30
7.3.330.0120.00316.12
7.3.320.0110.00315.14
7.3.310.0120.00316.09
7.3.300.0100.00516.21
7.3.290.0100.00816.17
7.3.280.0170.00116.15
7.3.270.0130.00616.09
7.3.260.0120.00716.14
7.3.250.0120.00616.17
7.3.240.0090.00916.07
7.3.230.0120.00616.13
7.3.220.0150.00216.19
7.3.210.0110.00616.14
7.3.200.0120.00516.09
7.3.190.0130.00516.13
7.3.180.0150.00616.06
7.3.170.0140.00416.08
7.3.160.0140.00216.13
7.3.150.0140.00216.08
7.3.140.0140.00416.07
7.3.130.0080.00816.07
7.3.120.0130.00216.11
7.3.110.0070.00916.09
7.3.100.0100.00616.11
7.3.90.0090.00716.20
7.3.80.0130.00516.08
7.3.70.0100.00916.27
7.3.60.0140.00316.20
7.3.50.0100.00716.24
7.3.40.0140.00216.29
7.3.30.0140.00316.29
7.3.20.0110.00716.76
7.3.10.0120.00516.79
7.3.00.0150.00516.65

preferences:
19.01 ms | 401 KiB | 5 Q