3v4l.org

run code in 300+ PHP versions simultaneously
<?php $pattern = '/data-videoid="([^"]+)/'; $subject = '<amp-youtube width="640" height="360" data-videoid="h7rhqXbdIts" layout="responsive"></amp-youtube>'; $result = preg_match( $pattern, $subject , $matches ); echo $result; print_r($matches); ?>

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.80.0060.00616.50
8.3.70.0070.01118.55
8.3.60.0140.00716.63
8.3.50.0060.01117.45
8.3.40.0070.01018.96
8.3.30.0030.01018.83
8.3.20.0040.00420.31
8.3.10.0050.00323.54
8.3.00.0000.00819.44
8.2.200.0040.00416.88
8.2.190.0100.01018.41
8.2.180.0170.00316.75
8.2.170.0110.00422.96
8.2.160.0070.00719.03
8.2.150.0040.00424.18
8.2.140.0080.00024.66
8.2.130.0000.00719.30
8.2.120.0040.00426.35
8.2.110.0040.00722.09
8.2.100.0000.01117.91
8.2.90.0080.00017.97
8.2.80.0080.00019.37
8.2.70.0060.00317.63
8.2.60.0040.00417.80
8.2.50.0000.00918.10
8.2.40.0030.00522.46
8.2.30.0040.00419.25
8.2.20.0000.00718.07
8.2.10.0030.00618.12
8.2.00.0040.00418.05
8.1.290.0090.00030.84
8.1.280.0100.00725.92
8.1.270.0000.00923.83
8.1.260.0070.00026.35
8.1.250.0000.00828.09
8.1.240.0080.00021.10
8.1.230.0070.00422.23
8.1.220.0060.00317.79
8.1.210.0030.00618.95
8.1.200.0050.00717.38
8.1.190.0000.00817.23
8.1.180.0040.00418.10
8.1.170.0000.00918.70
8.1.160.0030.00518.91
8.1.150.0000.00818.77
8.1.140.0050.00219.49
8.1.130.0070.00018.77
8.1.120.0040.00417.54
8.1.110.0050.00217.47
8.1.100.0040.00417.52
8.1.90.0040.00417.46
8.1.80.0040.00417.52
8.1.70.0000.00717.49
8.1.60.0090.00017.67
8.1.50.0000.00817.62
8.1.40.0020.00517.59
8.1.30.0040.00817.68
8.1.20.0040.00417.62
8.1.10.0060.00517.70
8.1.00.0040.00417.57
8.0.300.0090.00020.05
8.0.290.0020.00516.88
8.0.280.0000.00718.31
8.0.270.0070.00017.20
8.0.260.0030.00318.52
8.0.250.0000.00617.05
8.0.240.0000.00717.07
8.0.230.0030.00316.99
8.0.220.0000.00817.01
8.0.210.0040.00416.95
8.0.200.0000.00717.00
8.0.190.0040.00416.90
8.0.180.0050.00316.87
8.0.170.0030.00616.94
8.0.160.0070.00016.98
8.0.150.0000.00717.04
8.0.140.0000.00716.80
8.0.130.0030.00313.39
8.0.120.0040.00416.90
8.0.110.0030.00316.76
8.0.100.0040.00416.86
8.0.90.0000.00716.82
8.0.80.0130.00717.01
8.0.70.0040.00416.81
8.0.60.0050.00317.08
8.0.50.0040.00416.84
8.0.30.0060.01317.26
8.0.20.0100.01117.41
8.0.10.0050.00317.09
8.0.00.0120.00616.66
7.4.330.0050.00015.55
7.4.320.0060.00016.71
7.4.300.0000.00616.59
7.4.290.0090.00016.76
7.4.280.0030.00616.74
7.4.270.0030.00516.71
7.4.260.0040.00416.68
7.4.250.0040.00416.71
7.4.240.0000.00716.66
7.4.230.0060.00316.67
7.4.220.0130.01316.56
7.4.210.0110.00716.78
7.4.200.0070.00016.48
7.4.160.0100.00716.76
7.4.150.0060.01217.40
7.4.140.0090.01017.86
7.4.130.0120.01216.77
7.4.120.0120.00916.54
7.4.110.0140.00316.52
7.4.100.0060.01216.59
7.4.90.0170.00016.87
7.4.80.0090.00919.39
7.4.70.0060.01016.64
7.4.60.0160.00316.64
7.4.50.0060.01216.60
7.4.40.0030.01616.67
7.4.30.0120.01216.78
7.4.00.0070.00915.04
7.3.330.0000.00613.14
7.3.320.0000.00513.07
7.3.310.0030.00316.41
7.3.300.0060.00016.26
7.3.290.0000.00716.32
7.3.280.0100.00816.33
7.3.270.0200.00317.40
7.3.260.0130.00716.49
7.3.250.0080.01116.50
7.3.240.0070.00916.54
7.3.230.0090.00916.43
7.3.210.0070.01016.63
7.3.200.0110.00616.63
7.3.190.0060.01016.29
7.3.180.0130.00316.43
7.3.170.0040.01216.71
7.3.160.0070.01016.31
7.3.120.0090.00915.04
7.3.110.0060.00614.74
7.3.100.0060.00615.08
7.3.90.0100.00714.62
7.3.80.0070.01115.02
7.3.70.0030.00614.94
7.3.60.0070.00714.98
7.3.50.0040.00814.85
7.3.40.0050.00814.94
7.3.30.0040.01114.66
7.3.20.0040.00416.61
7.3.10.0020.01116.75
7.3.00.0070.00816.82
7.2.330.0070.01016.74
7.2.320.0130.01016.72
7.2.310.0000.01716.70
7.2.300.0110.01216.82
7.2.290.0070.01016.71
7.2.250.0140.00415.22
7.2.240.0070.01015.32
7.2.230.0030.01215.09
7.2.220.0030.01314.86
7.2.210.0060.00615.16
7.2.200.0040.01114.90
7.2.190.0000.01114.79
7.2.180.0000.00914.98
7.2.170.0100.00315.16
7.2.130.0040.00716.84
7.2.120.0090.00617.04
7.2.110.0070.00316.80
7.2.100.0100.00316.69
7.2.90.0060.01017.00
7.2.80.0140.00717.18
7.2.70.0060.00317.19
7.2.60.0040.01117.04
7.2.50.0080.00817.09
7.2.40.0040.01116.80
7.2.30.0090.00617.07
7.2.20.0030.00617.02
7.2.10.0040.01117.02
7.2.00.0060.00917.07
7.1.330.0090.00615.92
7.1.320.0090.00616.03
7.1.310.0060.00616.07
7.1.300.0030.01116.09
7.1.290.0080.00316.00
7.1.280.0060.00615.94
7.1.270.0030.00915.88
7.1.260.0030.01016.00
7.1.250.0120.00316.00
7.1.200.0080.00016.04
7.1.70.0770.01315.48
7.1.60.0660.01233.21
7.1.50.0760.01132.89
7.1.40.0770.00732.81
7.1.30.0960.01732.82
7.1.20.1010.01332.91
7.1.10.0800.00915.02
7.1.00.0640.00914.99
7.0.200.0720.00715.20
7.0.190.0650.01615.24
7.0.180.0610.00714.38
7.0.170.0890.01314.58
7.0.160.0730.01414.58
7.0.150.0540.00714.52
7.0.140.0560.01014.66
7.0.130.0560.00314.63
7.0.120.0500.01214.93
7.0.110.0660.01414.95
7.0.100.0570.01914.59
7.0.90.0400.01614.64
7.0.80.0660.00914.88
7.0.70.0620.01214.67
7.0.60.0640.00714.56
7.0.50.0530.02014.71
7.0.40.1420.00714.92
7.0.30.0710.01614.74
7.0.20.0730.01014.85
7.0.10.0630.01614.97
7.0.00.0740.01014.85

preferences:
26.28 ms | 401 KiB | 5 Q