3v4l.org

run code in 300+ PHP versions simultaneously
<?php $note = "センター断裁\\r\\n工場出力不可"; $arr_note = str_replace(array('\r\n', '\r'),'\n', $note); $arr_note = explode('\n', $arr_note); print_r( $note ); print_r( $arr_note );

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.4.120.0420.00717.42
8.4.110.0400.01117.47
8.4.100.0340.01517.35
8.4.90.0310.00417.56
8.4.80.0190.00317.55
8.4.70.0280.01017.45
8.4.60.0370.00817.26
8.4.50.0440.00817.82
8.4.40.0460.00717.16
8.4.30.0430.00817.32
8.4.20.0420.00817.34
8.4.10.0320.01017.07
8.3.250.0390.00716.20
8.3.240.0380.00616.23
8.3.230.0250.00416.38
8.3.220.0190.00216.27
8.3.210.0350.00716.33
8.3.200.0410.00916.31
8.3.190.0270.00816.55
8.3.180.0460.00916.11
8.3.170.0270.00816.27
8.3.160.0190.00516.15
8.3.150.0160.00716.34
8.3.140.0210.00615.96
8.3.130.0140.00716.22
8.3.120.0160.00516.18
8.3.110.0300.00816.08
8.3.100.0410.00816.43
8.3.90.0410.00716.07
8.3.80.0420.00915.98
8.3.70.0410.00916.23
8.3.60.0380.00716.04
8.3.50.0380.01015.96
8.3.40.0400.00917.24
8.3.30.0180.00617.17
8.3.20.0220.00417.21
8.3.10.0330.00717.21
8.3.00.0190.00817.24
8.2.290.0320.00716.24
8.2.280.0200.00716.53
8.2.270.0170.00316.46
8.2.260.0280.00916.04
8.2.250.0180.00616.20
8.2.240.0170.00216.08
8.2.230.0130.00716.12
8.2.220.0280.00416.13
8.2.210.0200.00816.11
8.2.200.0150.00516.29
8.2.190.0240.00216.56
8.2.180.0250.00316.25
8.2.170.0350.01117.57
8.2.160.0460.00917.60
8.2.150.0460.00517.29
8.2.140.0400.00717.19
8.2.130.0400.00717.35
8.2.120.0350.00817.54
8.2.110.0360.00517.37
8.2.100.0340.00917.32
8.2.90.0350.00617.69
8.2.80.0400.00717.08
8.2.70.0180.00317.56
8.2.60.0370.00717.39
8.2.50.0350.00817.43
8.2.40.0360.00517.59
8.2.30.0350.00617.34
8.2.20.0330.00517.36
8.2.10.0340.00717.51
8.2.00.0370.00317.33

preferences:
32.1 ms | 403 KiB | 5 Q